TemplateAppliedEventArgs Class
Definition
Holds the details of the Avalonia.Controls.Primitives.TemplatedControl.TemplateApplied event.
public class TemplateAppliedEventArgs
Constructors
| Name | Description |
|---|---|
| TemplateAppliedEventArgs | Initializes 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
| Name | Description |
|---|---|
| NameScope | Gets the name scope of the applied template. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets 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; }