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)
Available in Sandboxed Solutions: No

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