DateTimeControl.Calendar Property

Gets or sets the calendar type for the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BindableAttribute(True)> _
Public Property Calendar As SPCalendarType
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As SPCalendarType

value = instance.Calendar

instance.Calendar = value
[BindableAttribute(true)]
public SPCalendarType Calendar { get; set; }

Property Value

Type: Microsoft.SharePoint.SPCalendarType
A SPCalendarType object that indicates the calendar type used by the control.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace