IGlobalStyles Interface

Summary

Defines the style host that provides styles global to the application.
Namespace
Avalonia.Styling
Interfaces
Implementing Types
graph BT Type-.->Interface0["IStyleHost"] click Interface0 "/api/Avalonia.Styling/IStyleHost" Type["IGlobalStyles"] class Type type-node Implementing0["Application"]-.->Type click Implementing0 "/api/Avalonia/Application"

Syntax

public interface IGlobalStyles : IStyleHost

Events

Name Type Summary
GlobalStylesAdded Action<IReadOnlyList<IStyle>>
Raised when styles are added to Styles or a nested styles collection.
GlobalStylesRemoved Action<IReadOnlyList<IStyle>>
Raised when styles are removed from Styles or a nested styles collection.