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
| Visual Basic (Declaration) | |
|---|
Public Property Name As System.String |
| C# | |
|---|
public System.string Name {get; set;} |
Property Value
The name of the object, which must be a string that is valid in the XamlName Grammar. The default is an empty string.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also