Skip to main content

Initialized Event

Occurs when the styled element has finished initialization.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public event EventHandler Initialized
View Source

Value​

EventHandler

Remarks​

The Initialized event indicates that all property values on the styled element have been set. When loading the styled element from markup, it occurs when EndInit() is called and the styled element is attached to a rooted logical tree. When the styled element is created by code and ISupportInitialize is not used, it is called when the styled element is attached to the visual tree.

See Also​

Reference​

StyledElement Class
Avalonia Namespace