Summary
Defines the interface for styles.
- Namespace
- Avalonia
.Styling - Implementing Types
graph BT
Type["IStyle"]
class Type type-node
Implementing0["Styles"]-.->Type
click Implementing0 "/api/Avalonia.Styling/Styles"
Implementing1["Style"]-.->Type
click Implementing1 "/api/Avalonia.Styling/Style"
Implementing2["FluentTheme"]-.->Type
click Implementing2 "/api/Avalonia.Themes.Fluent/FluentTheme"
Implementing3["DefaultTheme"]-.->Type
click Implementing3 "/api/Avalonia.Themes.Default/DefaultTheme"
Implementing4["StyleInclude"]-.->Type
click Implementing4 "/api/Avalonia.Markup.Xaml.Styling/StyleInclude"
Implementing5["FluentControls"]-.->Type
click Implementing5 "/api/Avalonia.Themes.Fluent.Controls/FluentControls"
Syntax
public interface IStyle
Properties
Methods
Name | Value | Summary |
---|---|---|
TryAttach |
SelectorMatchResult |
Attaches the style and any child styles to a control if the style's selector matches.
|