HtmlControlDesigner.DesignTimeElement Property

NOTE: This property is now obsolete.

Gets the design-time object representing the control that is associated with the HtmlControlDesigner object on the design surface.

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

[ObsoleteAttribute(L"Error: This property can no longer be referenced, and is included to support existing compiled applications. The design-time element may not always provide access to the element in the markup. There are alternate methods on WebFormsRootDesigner for handling client script and controls. http://go.microsoft.com/fwlink/?linkid=14202", true)] 
protected:
property Object^ DesignTimeElement {
	Object^ get ();
}
/** @property */
protected Object get_DesignTimeElement ()

protected function get DesignTimeElement () : Object

Property Value

The design-time object representing the control associated with the HtmlControlDesigner.

The DesignTimeElement property is used by the designer to retrieve the design-time object representing the control that is associated with the HtmlControlDesigner object on the design surface.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 1.0
Obsolete (compiler warning) in 1.1
Obsolete (does not compile) in 2.0 and later
Show: