Skip to main content

OnApplyTemplate Method

Called when the control's template is applied. In simple terms, this means the method is called just before the control is displayed.

Definition​

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

protected override void OnApplyTemplate(
TemplateAppliedEventArgs e
)

Parameters​

  TemplateAppliedEventArgs
The event args.

See Also​

Reference​

ButtonSpinner Class
Avalonia.Controls Namespace