public class StyledElement : Animatable,
IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode,
IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, INamed,
IStyleablePublic Class StyledElement
Inherits Animatable
Implements IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost,
IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize,
INamed, IStyleabletype StyledElement =
class
inherit Animatable
interface IDataContextProvider
interface ILogical
interface IThemeVariantHost
interface IResourceHost
interface IResourceNode
interface IStyleHost
interface ISetLogicalParent
interface ISetInheritanceParent
interface ISupportInitialize
interface INamed
interface IStyleable
end| ActualThemeVariant | Gets the UI theme that is currently used by the element, which might be different than the RequestedThemeVariantProperty. |
| Classes | Gets or sets the styled element's classes. |
| DataContext | Gets or sets the control's data context. |
| InheritanceParent |
Gets or sets the parent object that inherited AvaloniaProperty values
are inherited from.
(Inherited from AvaloniaObject) |
| IsInitialized | Gets a value that indicates whether the element has finished initialization. |
| ItemAvaloniaProperty |
Gets or sets the value of a AvaloniaProperty.
(Inherited from AvaloniaObject) |
| ItemIndexerDescriptor |
Gets or sets a binding for a AvaloniaProperty.
(Inherited from AvaloniaObject) |
| LogicalChildren | Gets the styled element's logical children. |
| Name | Gets or sets the name of the styled element. |
| Parent | Gets the styled element's logical parent. |
| PseudoClasses | Gets the Classes collection in a form that allows adding and removing pseudoclasses. |
| Resources | Gets or sets the styled element's resource dictionary. |
| StyleKey | Gets the type by which the element is styled. |
| StyleKeyOverride | Gets the type by which the element is styled. |
| Styles | Gets the styles for the styled element. |
| TemplatedParent | Gets the styled element whose lookless template this styled element is part of. |
| Theme | Gets or sets the theme to be applied to the element. |
| Transitions |
Gets or sets the property transitions for the control.
(Inherited from Animatable) |
| ActualThemeVariantChanged | Raised when the theme variant is changed on the element or an ancestor of the element. |
| AttachedToLogicalTree | Raised when the styled element is attached to a rooted logical tree. |
| DataContextChanged | Occurs when the DataContext property changes. |
| DetachedFromLogicalTree | Raised when the styled element is detached from a rooted logical tree. |
| Initialized | Occurs when the styled element has finished initialization. |
| PropertyChanged |
Raised when a AvaloniaProperty value changes on this object.
(Inherited from AvaloniaObject) |
| ResourcesChanged | Occurs when a resource in this styled element or a parent styled element has changed. |
| DataContextProperty | Defines the DataContext property. |
| NameProperty | Defines the Name property. |
| ParentProperty | Defines the Parent property. |
| TemplatedParentProperty | Defines the TemplatedParent property. |
| ThemeProperty | Defines the Theme property. |