TemplateDefinition.TemplatedObject Property

 

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

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public object TemplatedObject { get; }

Property Value

Type: System.Object

The component as set when this TemplateDefinition was created.

Although this TemplatedObject property is read-only, its properties can be set, and if AllowEditing is true, the content can be edited.

.NET Framework
Available since 2.0
Return to top
Show: