System.Web.UI.Design.TemplateDefinition Members

The members of System.Web.UI.Design.TemplateDefinition are listed below.

See Also: Inherited members from System.Web.UI.Design.DesignerObject

Public Constructors

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.

Public Properties

[read-only]
AllowEditingbool.

Gets a value that indicates whether the template should enable editing of its contents.

Contentstring.

Gets or sets the HTML markup representing the content of the template.

[read-only]
ServerControlsOnlybool.

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]
StyleSystem.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.

SupportsDataBindingbool.

Retrieves or sets a value indicating whether the template supports data binding.

[read-only]
TemplatedObjectobject.

Retrieves the component in which the template resides. This property is read-only.

[read-only]
TemplatePropertyNamestring.

Retrieves the property name for the template that the design host should display in the property grid.