StyledElementName Property

Gets or sets the name of the styled element.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public string? Name { get; set; }

Property Value

String

Implements

INamedName

Remarks

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.

See Also