SPCalendarView.ViewType Property (Microsoft.SharePoint.WebControls)
Specifies the current calendar-view template.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<DescriptionAttribute("View type of Calendar. Can be on of follow strings: 'Month', 'Week','Day','TimeLine','Custom'.")> _
<BindableAttribute(True)> _
<CategoryAttribute("Data")> _
<DefaultValueAttribute("Month")> _
Public Property ViewType As String
Visual Basic (Usage)
Dim instance As SPCalendarView
Dim value As String

value = instance.ViewType

instance.ViewType = value
C#
[DescriptionAttribute("View type of Calendar. Can be on of follow strings: \'Month\', \'Week\',\'Day\',\'TimeLine\',\'Custom\'.")] 
[BindableAttribute(true)] 
[CategoryAttribute("Data")] 
[DefaultValueAttribute("Month")] 
public string ViewType { get; set; }
Remarks

The type can be one of following strings: "Month", "Week", "Day", "TimeLine", or "Custom".

See Also

Tags :


Page view tracker