TemplateDefinition Members
.NET Framework 3.0
Provides properties and methods that define a template element in a Web server control at design time.
The following tables list the members exposed by the TemplateDefinition type.
| Name | Description | |
|---|---|---|
| TemplateDefinition | Overloaded. Initializes a new instance of the TemplateDefinition class. |
| Name | Description | |
|---|---|---|
| AllowEditing | Retrieves a value indicating whether the template should allow 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 Properties list. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| GetService | Gets a service from the design host, as identified by the provided type. (inherited from DesignerObject) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Community Additions
ADD
Show: