This documentation is archived and is not being maintained.
TemplateDefinition Properties
Visual Studio 2010
The TemplateDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllowEditing | Gets a value that indicates whether the template should enable editing of its contents. |
|
Content | Gets or sets the HTML markup representing the content of the template. |
|
Designer | Gets the associated designer component. (Inherited from DesignerObject.) |
|
Name | Gets the name of the object. (Inherited from DesignerObject.) |
|
Properties | Gets the object's properties. (Inherited from DesignerObject.) |
|
ServerControlsOnly | Retrieves a value indicating whether the template should limit content to Web server controls, as set in the TemplateDefinition constructor. This property is read-only. |
|
Style | Retrieves the style that should be applied to the template as set in the TemplateDefinition constructor. This property is read-only. |
|
SupportsDataBinding | Retrieves or sets a value indicating whether the template supports data binding. |
|
TemplatedObject | Retrieves the component in which the template resides. This property is read-only. |
|
TemplatePropertyName | Retrieves the property name for the template that the design host should display in the property grid. |
Show: