StyledElement.

Name Property

Summary

Gets or sets the name of the styled element.
Namespace
Avalonia
Containing Type
StyledElement

Syntax

public string Name { get; set; }

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.

Value

Type Description
string