Gets or sets the template for the content area of the C1Window control.
Namespace:
C1.Web.UI.Controls.C1WindowAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute(null)] [BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode.InnerProperty)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] [TemplateInstanceAttribute(TemplateInstance.Single)] public ITemplate ContentTemplate { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(Nothing)> _ <BrowsableAttribute(False)> _ <PersistenceModeAttribute(PersistenceMode.InnerProperty)> _ <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _ <TemplateInstanceAttribute(TemplateInstance.Single)> _ Public Property ContentTemplate As ITemplate Get Set |
Remarks
Use the ContentTemplate property to control the contents of the dialog window.
To specify a template for the dialog, reset the ContentUrl property, place the <ContentTemplate> tags between the opening and closing tags of the control.
You can then list the contents of the template between the opening and closing <ContentTemplate> tags.