Skip to main content

StyledElement Events

Events

ActualThemeVariantChangedRaised when the theme variant is changed on the element or an ancestor of the element.
AttachedToLogicalTreeRaised when the styled element is attached to a rooted logical tree.
DataContextChangedOccurs when the DataContext property changes.
DetachedFromLogicalTreeRaised when the styled element is detached from a rooted logical tree.
InitializedOccurs when the styled element has finished initialization.
PropertyChangedRaised when a AvaloniaProperty value changes on this object.
(Inherited from AvaloniaObject)
ResourcesChangedOccurs when a resource in this styled element or a parent styled element has changed.

See Also

Reference

StyledElement Class
Avalonia Namespace