Styles Property
Gets the styles for the styled element.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Styles Styles { get; }
Public ReadOnly Property Styles As Styles
Get
abstract Styles : Styles with get
override Styles : Styles with get
Property Value
StylesImplements
IStyleHost.StylesRemarks
Styles for the entire application are added to the Application.Styles collection, but each styled element may in addition define its own styles which are applied to the styled element itself and its children.