FrameworkElement.Name property

Expand
This topic has not yet been rated - Rate this topic

FrameworkElement.Name property

[This documentation is preliminary and is subject to change.]

Gets or sets the identifying name of the object. When a XAML processor creates the object tree from XAML markup, run-time code can refer to the XAML-declared object by this name.

Syntax


public string Name { get; set; }


<frameworkElement Name="xamlNameString"/>

Property value

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

The name of the object, which must be a string that is valid in the XamlName Grammar. The default is an empty string.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

See also

FrameworkElement

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD