TextElement.Name property

Applies to Windows and Windows Phone

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

Syntax


public:
property String^ Name { 
   String^ get();
}


<textElement Name="xamlNameString"/>

Property value

Type: System.String [.NET] | Platform::String [C++]

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".

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Documents
Windows::UI::Xaml::Documents [C++]

Metadata

Windows.winmd

See also

TextElement

 

 

Show:
© 2014 Microsoft