Skip to main content

TemplateAppliedEventArgs Class

Definition​

Assembly:Avalonia.Controls
Package:Avalonia
public class TemplateAppliedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> TemplateAppliedEventArgs

Constructors​

NameDescription
TemplateAppliedEventArgsInitializes a new instance of the Avalonia.Controls.Primitives.TemplateAppliedEventArgs class.

TemplateAppliedEventArgs Constructor​

Initializes a new instance of the Avalonia.Controls.Primitives.TemplateAppliedEventArgs class.

public TemplateAppliedEventArgs(Avalonia.Controls.INameScope nameScope)

Parameters​

nameScope Avalonia.Controls.INameScope

The applied template's name scope.

Properties​

NameDescription
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
NameScopeGets the name scope of the applied template.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

NameScope Property​

Gets the name scope of the applied template.

public Avalonia.Controls.INameScope NameScope { get; set; }