TextElement.Name Property

Definition

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

C#
public string Name { get; }
XAML
<textElement Name="xamlNameString"/>

Property Value

String

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

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6