SaveButton.AccessKey property

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

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

Syntax

'Declaration
Public Property AccessKey As String
    Get
    Set
'Usage
Dim instance As SaveButton
Dim value As String

value = instance.AccessKey

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

Property value

Type: System.String
A String object that represents the name of a physical key. The default is a null reference (Nothing in Visual Basic).

Remarks

For example, setting the access key of the button to the string "S" indicates that the user can click the button by pressing ALT+S.

See also

Reference

SaveButton class

SaveButton members

Microsoft.SharePoint.WebControls namespace