StyledElementStyles Property

Gets the styles for the styled element.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Styles Styles { get; }

Property Value

Styles

Implements

IStyleHostStyles

Remarks

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.

See Also