This documentation is archived and is not being maintained.

TemplateDefinition Properties

The TemplateDefinition type exposes the following members.

  NameDescription
Public property AllowEditing Gets a value that indicates whether the template should enable editing of its contents.
Public property Content Gets or sets the HTML markup representing the content of the template.
Public property Designer Gets the associated designer component. (Inherited from DesignerObject.)
Public property Name Gets the name of the object. (Inherited from DesignerObject.)
Public property Properties Gets the object's properties. (Inherited from DesignerObject.)
Public property 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.
Public property Style Retrieves the style that should be applied to the template as set in the TemplateDefinition constructor. This property is read-only.
Public property SupportsDataBinding Retrieves or sets a value indicating whether the template supports data binding.
Public property TemplatedObject Retrieves the component in which the template resides. This property is read-only.
Public property TemplatePropertyName Retrieves the property name for the template that the design host should display in the property grid.
Top
Show: