StyledElement.

Initialized Event

Summary

Occurs when the styled element has finished initialization.
Namespace
Avalonia
Containing Type
StyledElement
Event Type
EventHandler

Syntax

public event EventHandler Initialized

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 ISupportInitialize.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.