Sdílet prostřednictvím


SPCalendarViewStyle.AccessKey Property

Gets or sets the keyboard shortcut to activate or place focus on the Day, Week, or Month view link in the calendar user interface.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.AccessKey

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

Property Value

Type: System.String

A string that specifies the keyboard shortcut for a view link in the calendar view style. The default values are period (".") for day, hyphen ("-") for week, and equal sign ("=") for month. Press the following key combinations to implement these shortcuts in the user interface:

  • ALT + .

  • ALT + -

  • ALT + =

See Also

Reference

SPCalendarViewStyle Class

SPCalendarViewStyle Members

Microsoft.SharePoint Namespace