SPCalendarViewStyleCollection.DefaultViewStylesEnabled property

Gets or sets a Boolean value that specifies whether to display the default day, week, and month view styles in the view style picker control.

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

Syntax

'Declaration
Public Property DefaultViewStylesEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPCalendarViewStyleCollection
Dim value As Boolean

value = instance.DefaultViewStylesEnabled

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

Property value

Type: System.Boolean
true to display the default calendar view styles in the picker control; otherwise, false. The default value is true.

See also

Reference

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Microsoft.SharePoint namespace