SPMobileNavigation.AccessKey Property

Gets or sets the hardware shortcut key that raises the Click event on the navigation control.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Overridable Property AccessKey As String
Dim instance As SPMobileNavigation
Dim value As String

value = instance.AccessKey

instance.AccessKey = value
public virtual string AccessKey { get; set; }

Property Value

Type: System.String
A String object that represents the name of a physical key on the mobile device.


The value of the AccessKey property must be a digit from 0 to 9 or "#" or "*". For example, if the property is set to "0", then pressing the 0 key on the device's keypad has the same effect as clicking the navigation control.

Not all mobile devices support access keys.

See Also


SPMobileNavigation Class

SPMobileNavigation Members

Microsoft.SharePoint.MobileControls Namespace