IGlobalStyles Interface
Defines the style host that provides styles global to the application.
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IGlobalStyles : IStyleHost
<NotClientImplementableAttribute>
Public Interface IGlobalStyles
Inherits IStyleHost
[<NotClientImplementableAttribute>]
type IGlobalStyles =
interface
interface IStyleHost
end
| Implements | IStyleHost |
Properties
| IsStylesInitialized | Gets a value indicating whether Styles is initialized. (Inherited from IStyleHost) |
| Styles | Gets the styles for the element. (Inherited from IStyleHost) |
| StylingParent | Gets the parent style host element. (Inherited from IStyleHost) |
Methods
| StylesAdded(IReadOnlyList(IStyle)) | Called when styles are added to Styles or a nested styles collection. (Inherited from IStyleHost) |
| StylesRemoved(IReadOnlyList(IStyle)) | Called when styles are removed from Styles or a nested styles collection. (Inherited from IStyleHost) |
Events
| GlobalStylesAdded | Raised when styles are added to Styles or a nested styles collection. |
| GlobalStylesRemoved | Raised when styles are removed from Styles or a nested styles collection. |