Export (0) Print
Expand All

ControlDesigner Methods

The ControlDesigner type exposes the following members.

  NameDescription
Protected method CreateErrorDesignTimeHtml Overloaded. Creates HTML markup to display an error message at design time.
Protected method CreatePlaceHolderDesignTimeHtml Overloaded. Provides a simple rectangular placeholder representation that displays the type and ID of the control.
Protected method CreateViewControl Returns a copy of the associated control for viewing or rendering on the design surface.
Public method Dispose Overloaded. Releases the resources used by the ComponentDesigner.
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 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 GetBounds Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface.
Public method GetDesignTimeHtml Overloaded. Retrieves the HTML markup that is used to represent the control at design time.
Public method Static member GetDesignTimeResourceProviderFactory Returns an appropriate resource provider factory, depending on the globalization settings in the configuration file for the site.
Public method GetEditableDesignerRegionContent Returns the content for an editable region of the design-time view of the associated control.
Protected method GetEmptyDesignTimeHtml Retrieves the HTML markup to represent a Web server control at design time that will have no visual representation at run time.
Protected method GetErrorDesignTimeHtml Retrieves the HTML markup that provides information about the specified exception.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPersistenceContent Retrieves the persistable inner HTML markup of the control at design time.
Public method GetPersistInnerHtml Obsolete. Retrieves the persistable inner HTML markup of the control.
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 Static member GetViewRendering Overloaded. Retrieves an object that contains the design-time markup for the content and regions of the associated control.
Public method Initialize Initializes the control designer and loads the specified component. (Overrides HtmlControlDesigner.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.)
Public method Invalidate Overloaded. Invalidates the control as displayed on the design surface and causes the design host to call the OnPaint method.
Protected method InvokeGetInheritanceAttribute Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.)
Public method Static member InvokeTransactedChange Overloaded. Wraps a series of changes into a transaction, using the specified parameters that can be rolled back as a unit with the undo functionality of the design host.
Public method IsPropertyBound Obsolete. Retrieves a value indicating whether the specified property on the associated control is data-bound.
Public method Localize Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnAutoFormatApplied Called when a predefined, automatic formatting scheme has been applied to the associated control.
Protected method OnBehaviorAttached Obsolete. Called when a behavior is associated with the element. (Inherited from HtmlControlDesigner.)
Protected method OnBehaviorDetaching Obsolete. Called when a behavior disassociates from the element. (Inherited from HtmlControlDesigner.)
Protected method OnBindingsCollectionChanged Obsolete. Called when the data-binding collection changes. (Overrides HtmlControlDesigner.OnBindingsCollectionChanged(String).)
Protected method OnClick Called by the design host when the user clicks the associated control at design time.
Public method OnComponentChanged Called when the associated control changes.
Public method OnComponentChanging Represents the method that will handle the ComponentChanging event for the associated control.
Protected method OnControlResize Obsolete. Called when the associated Web server control has been resized in the design host at design time.
Protected method OnPaint Called when the control designer draws the associated control on the design surface, if the CustomPaint value is true.
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. (Inherited from HtmlControlDesigner.)
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. (Inherited from HtmlControlDesigner.)
Protected method PreFilterProperties Adds properties to or removes properties from the Properties grid in a design host at design time or provides new design-time properties that might correspond to properties on the associated control. (Overrides HtmlControlDesigner.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 RaiseResizeEvent Obsolete. Raises the OnControlResize event.
Public method RegisterClone Registers internal data in a cloned control.
Public method SetEditableDesignerRegionContent Specifies the content for an editable region of the control at design time.
Protected method SetRegionContent Specifies the content for an editable region in the design-time view of the control.
Protected method SetViewFlags Assigns the specified bitwise ViewFlags enumeration to the specified flag value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateDesignTimeHtml Refreshes the design-time HTML markup for the associated Web server control by calling the GetDesignTimeHtml method.
Top

  NameDescription
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.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft