A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
809 B

using Avalonia.Interactivity;
namespace Avalonia.Controls.Primitives
{
/// <summary>
/// Holds the details of the <see cref="TemplatedControl.TemplateApplied"/> event.
/// </summary>
public class TemplateAppliedEventArgs : RoutedEventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="TemplateAppliedEventArgs"/> class.
/// </summary>
/// <param name="nameScope">The applied template's name scope.</param>
public TemplateAppliedEventArgs(INameScope nameScope)
: base(TemplatedControl.TemplateAppliedEvent)
{
NameScope = nameScope;
}
/// <summary>
/// Gets the name scope of the applied template.
/// </summary>
public INameScope NameScope { get; }
}
}