TemplatePartAttribute Properties
Properties
IsRequired | Gets or sets a value indicating whether the template part is mandatory to be present in the template. |
Name | Gets or sets the part name used by the class to identify a required element in the style. Template part names should begin with the "PART_" prefix. |
Type | Gets or sets the type of the element that should be used as a part with name specified in Name. |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute) |
See Also
Reference
TemplatePartAttribute Class
Avalonia.Controls.Metadata Namespace