Share via


TextElement.Name Property

Definition

Gets or sets a unique identification for the object. Name can only be set from initial parsing of XAML.

public:
 property Platform::String ^ Name { Platform::String ^ get(); };
winrt::hstring Name();
public string Name { get; }
var string = textElement.name;
Public ReadOnly Property Name As String
<textElement Name="xamlNameString"/>

Property Value

String

Platform::String

winrt::hstring

The unique identifier for the object. This property is read-only for code, but write-only for XAML, due to special parser handling of XAML properties named "Name".

Applies to