SPCalendarBase.ItemTemplate Property

Gets or sets the value that represents the item template.

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

Syntax

'Declaration
<TemplateContainerAttribute(GetType(SPCalendarItemContainer))> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public Overridable Property ItemTemplate As ITemplate
    Get
    Set
'Usage
Dim instance As SPCalendarBase
Dim value As ITemplate

value = instance.ItemTemplate

instance.ItemTemplate = value
[TemplateContainerAttribute(typeof(SPCalendarItemContainer))]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual ITemplate ItemTemplate { get; set; }

Property Value

Type: System.Web.UI.ITemplate

See Also

Reference

SPCalendarBase Class

SPCalendarBase Members

Microsoft.SharePoint.WebControls Namespace