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)

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