Summary
Defines a style.
- Namespace
- Avalonia
.Styling - Interfaces
-
- IAvaloniaObject
- IAvaloniaObjectDebug
- I
Notify Property Changed - IValueSink
- IStyle
- IResourceProvider
- IResourceNode
- Base Types
-
- object
- AvaloniaObject
graph BT
Type-->Base0["AvaloniaObject"]
click Base0 "/api/Avalonia/AvaloniaObject"
Base0-->Base1["object"]
Type-.->Interface0["IAvaloniaObject"]
click Interface0 "/api/Avalonia/IAvaloniaObject"
Type-.->Interface1["IAvaloniaObjectDebug"]
click Interface1 "/api/Avalonia.Diagnostics/IAvaloniaObjectDebug"
Type-.->Interface2["INotifyPropertyChanged"]
Type-.->Interface3["IValueSink"]
Type-.->Interface4["IStyle"]
click Interface4 "/api/Avalonia.Styling/IStyle"
Type-.->Interface5["IResourceProvider"]
click Interface5 "/api/Avalonia.Controls/IResourceProvider"
Type-.->Interface6["IResourceNode"]
click Interface6 "/api/Avalonia.Controls/IResourceNode"
Type["Style"]
class Type type-node
Syntax
public class Style : AvaloniaObject, IAvaloniaObject, IAvaloniaObjectDebug, INotifyPropertyChanged,
IValueSink, IStyle, IResourceProvider, IResourceNode
Constructors
Name | Summary |
---|---|
Style |
Initializes a new instance of the Style class.
|
Style |
Initializes a new instance of the Style class.
|
Events
Name | Type | Summary |
---|---|---|
OwnerChanged | EventHandler? | |
PropertyChanged | EventHandler |
Raised when a
AvaloniaProperty value changes on this object.
Inherited from AvaloniaObject
|
Properties
Name | Value | Summary |
---|---|---|
Animations | IList |
Gets the style's animations.
|
InheritanceParent | IAvaloniaObject |
Gets or sets the parent object that inherited
AvaloniaProperty values
are inherited from.
Inherited from AvaloniaObject
|
Owner | IResourceHost? | |
Resources | IResourceDictionary |
Gets or sets a dictionary of style resources.
|
Selector | Selector? |
Gets or sets the style's selector.
|
Setters | IList |
Gets the style's setters.
|
this[ |
object |
Gets or sets the value of a
AvaloniaProperty .
Inherited from AvaloniaObject
|
this[ |
IBinding |
Gets or sets a binding for a
AvaloniaProperty .
Inherited from AvaloniaObject
|