TextElement.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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".