# ViewLocatorAttribute.StyleClasses property

The style classes applied to the hosting window, as a single space-separated string. Defaults to `"DefaultDialogWindow"`, and is `null` when the classes were supplied as an array instead. See [`DialogWindowClasses`](../DialogWindowClasses.md) for the recognised names.

```csharp
public string? StyleClasses { get; set; }
```

## See Also

* class [ViewLocatorAttribute](../ViewLocatorAttribute.md)
* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
