Share via


SPCalendarViewStyle.Default property

Gets or sets a Boolean value that specifies whether the view style is the default view style that is displayed for the calendar.

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

Syntax

'Declaration
Public Property Default As Boolean
    Get
    Set
'Usage
Dim instance As SPCalendarViewStyle
Dim value As Boolean

value = instance.Default

instance.Default = value
public bool Default { get; set; }

Property value

Type: System.Boolean
true if the calendar view style is the default view style; otherwise, false. The default value is false for day and week view styles, but true for the month view style.

See also

Reference

SPCalendarViewStyle class

SPCalendarViewStyle members

Microsoft.SharePoint namespace