The members of System.Web.UI.Design.TemplateDefinition are listed below.
See Also: Inherited members from System.Web.UI.Design.DesignerObject
Initializes a new instance of the System.Web.UI.Design.TemplateDefinition class, using the provided designer, template name, template, and property name. | ||
Initializes a new instance of the System.Web.UI.Design.TemplateDefinition class, using the provided designer, template name, template, property name, and whether to limit the template contents to Web server controls. | ||
Initializes a new instance of the System.Web.UI.Design.TemplateDefinition class, using the provided designer, template name, template, property name, and System.Web.UI.WebControls.Style object. | ||
Initializes a new instance of the System.Web.UI.Design.TemplateDefinition class, using the provided designer, template name, template, property name, System.Web.UI.WebControls.Style object, and whether to limit content to Web server controls. |
[read-only] | AllowEditing | bool.
Gets a value that indicates whether the template should enable editing of its contents. |
Content | string.
Gets or sets the HTML markup representing the content of the template. | |
[read-only] | ServerControlsOnly | bool.
Retrieves a value indicating whether the template should limit content to Web server controls, as set in the erload:System.Web.UI.Design.TemplateDefinition.#ctor constructor. This property is read-only. |
[read-only] | Style | System.Web.UI.WebControls.Style.
Retrieves the style that should be applied to the template as set in the erload:System.Web.UI.Design.TemplateDefinition.#ctor constructor. This property is read-only. |
SupportsDataBinding | bool.
Retrieves or sets a value indicating whether the template supports data binding. | |
[read-only] | TemplatedObject | object.
Retrieves the component in which the template resides. This property is read-only. |
[read-only] | TemplatePropertyName | string.
Retrieves the property name for the template that the design host should display in the property grid. |