StyledElementInitialized Event

Occurs when the styled element has finished initialization.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public event EventHandler Initialized

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