HtmlControlDesigner Class (System.Web.UI.Design)

Switch View :
ScriptFree
.NET Framework Class Library
HtmlControlDesigner Class

Provides basic design-time functionality for ASP.NET server controls.

Inheritance Hierarchy

System.Object
  System.ComponentModel.Design.ComponentDesigner
    System.Web.UI.Design.HtmlControlDesigner
      System.Web.UI.Design.ControlDesigner
      System.Web.UI.Design.HtmlIntrinsicControlDesigner

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

Visual Basic
<SecurityPermissionAttribute(SecurityAction.Demand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Public Class HtmlControlDesigner _
	Inherits ComponentDesigner
C#
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class HtmlControlDesigner : ComponentDesigner
Visual C++
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
public ref class HtmlControlDesigner : public ComponentDesigner
F#
[<SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
type HtmlControlDesigner =  
    class
        inherit ComponentDesigner
    end

The HtmlControlDesigner type exposes the following members.

Constructors

  Name Description
Public method HtmlControlDesigner Initializes a new instance of the HtmlControlDesigner class.
Top
Properties

  Name Description
Public property ActionLists Gets the design-time action lists supported by the component associated with the designer. (Inherited from ComponentDesigner.)
Public property AssociatedComponents Gets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner.)
Public property Behavior Obsolete. Gets or sets the DHTML behavior that is associated with the designer.
Public property Component Gets the component this designer is designing. (Inherited from ComponentDesigner.)
Public property DataBindings Gets the data bindings collection for the current control.
Protected property DesignTimeElement Obsolete. Gets the design-time object representing the control that is associated with the HtmlControlDesigner object on the design surface.
Public property Expressions Gets the expression bindings for the current control at design time.
Protected property InheritanceAttribute Gets an attribute that indicates the type of inheritance of the associated component. (Inherited from ComponentDesigner.)
Protected property Inherited Gets a value indicating whether this component is inherited. (Inherited from ComponentDesigner.)
Protected property ParentComponent Gets the parent component for this designer. (Inherited from ComponentDesigner.)
Protected property ShadowProperties Gets a collection of property values that override user settings. (Inherited from ComponentDesigner.)
Public property ShouldCodeSerialize Obsolete. Gets or sets a value indicating whether to create a field declaration for the control in the code-behind file for the current design document during serialization.
Public property Verbs Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner.)
Top
Methods

  Name Description
Public method Dispose() Releases all resources used by the ComponentDesigner. (Inherited from ComponentDesigner.)
Protected method Dispose(Boolean) Releases the unmanaged resources that are used by the HtmlControlDesigner object and optionally releases the managed resources. (Overrides ComponentDesigner.Dispose(Boolean).)
Public method DoDefaultAction Creates a method signature in the source code file for the default event on the component and navigates the user's cursor to that location. (Inherited from ComponentDesigner.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetService Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the designer and sets the component for design. (Overrides ComponentDesigner.Initialize(IComponent).)
Public method InitializeExistingComponent Reinitializes an existing component. (Inherited from ComponentDesigner.)
Public method InitializeNewComponent Initializes a newly created component. (Inherited from ComponentDesigner.)
Public method InitializeNonDefault Obsolete. Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner.)
Protected method InvokeGetInheritanceAttribute Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnBehaviorAttached Obsolete. Called when a behavior is associated with the element.
Protected method OnBehaviorDetaching Obsolete. Called when a behavior disassociates from the element.
Protected method OnBindingsCollectionChanged Obsolete. Provides a method that can be used to indicate when a data binding has changed.
Public method OnSetComponentDefaults Obsolete. Sets the default properties for the component. (Inherited from ComponentDesigner.)
Public method OnSetParent Provides a way to perform additional processing when the associated control is attached to a parent control.
Protected method PostFilterAttributes Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterEvents Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PostFilterProperties Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterAttributes Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.)
Protected method PreFilterEvents Sets the list of events that are exposed at design-time for the TypeDescriptor object for the component. (Overrides ComponentDesigner.PreFilterEvents(IDictionary).)
Protected method PreFilterProperties Allows the designer to expose a specific set of properties through a TypeDescriptor object at design time. (Overrides ComponentDesigner.PreFilterProperties(IDictionary).)
Protected method RaiseComponentChanged Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner.)
Protected method RaiseComponentChanging Notifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Explicit Interface Implementations

  Name Description
Explicit interface implemetation Private method IDesignerFilter.PostFilterAttributes For a description of this member, see the IDesignerFilter.PostFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterEvents For a description of this member, see the IDesignerFilter.PostFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PostFilterProperties For a description of this member, see the IDesignerFilter.PostFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterAttributes For a description of this member, see the IDesignerFilter.PreFilterAttributes method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterEvents For a description of this member, see the IDesignerFilter.PreFilterEvents method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private method IDesignerFilter.PreFilterProperties For a description of this member, see the IDesignerFilter.PreFilterProperties method. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private property ITreeDesigner.Children For a description of this member, see the ITreeDesigner.Children property. (Inherited from ComponentDesigner.)
Explicit interface implemetation Private property ITreeDesigner.Parent For a description of this member, see the ITreeDesigner.Parent property. (Inherited from ComponentDesigner.)
Top
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Other Resources