Sdílet prostřednictvím


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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