Version

Key Property (NavItem)

Set or gets a string value that can be used to uniquely identify a node, independant of its Text or Value properties. The Key property can be bound to a DataSource field using the NodeBinding.KeyField property setting.
Syntax
'Declaration
 
Public Property Key As String
public string Key {get; set;}
Remarks
This property does not enforce uniqueness on the Key value. The default value for this property is String.Empty. If specified, the value is available on the client.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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