Name Property
Gets or sets the name of the styled element.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public string? Name { get; set; }
Public Property Name As String
Get
Set
abstract Name : string with get, set
override Name : string with get, set
Property Value
StringImplements
INamed.NameRemarks
An element's name is used to uniquely identify an element within the element's name scope. Once the element is added to a logical tree, its name cannot be changed.