Microsoft.SharePoint.WebCon ...


SPCalendarView Class (Microsoft.SharePoint.WebControls)
Represents the CalendarView control hosted inside a ListViewWebPart.

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

Visual Basic (Declaration)
<DefaultPropertyAttribute("ViewType")> _
<ToolboxDataAttribute("<{0}:SPCalendarView runat=server></{0}:SPCalendarView>")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
Public Class SPCalendarView
    Inherits DataBoundControl
    Implements IDesignTimeHtmlProvider, INamingContainer
Visual Basic (Usage)
Dim instance As SPCalendarView
C#
[DefaultPropertyAttribute("ViewType")] 
[ToolboxDataAttribute("<{0}:SPCalendarView runat=server></{0}:SPCalendarView>")] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
public class SPCalendarView : DataBoundControl, IDesignTimeHtmlProvider, INamingContainer
Inheritance Hierarchy

System.Object
   System.Web.UI.Control
     System.Web.UI.WebControls.WebControl
       System.Web.UI.WebControls.BaseDataBoundControl
         System.Web.UI.WebControls.DataBoundControl
          Microsoft.SharePoint.WebControls.SPCalendarView
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Page view tracker