ControlDesigner Members

Provides a base control designer class for extending the design-mode behavior of a Web server control.

The following tables list the members exposed by the ControlDesigner type.

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

(see also Protected Properties )
  Name Description
Public property ActionLists Overridden. Gets the action list collection for the control designer.
Public property AllowResize Gets a value indicating whether the control can be resized in the design-time environment.
Public property AssociatedComponents  Gets the collection of components associated with the component managed by the designer.(Inherited from ComponentDesigner.)
Public property AutoFormats Gets the collection of predefined automatic formatting schemes to display in the Auto Format dialog box for the associated control at design time.
Public property Behavior  Gets or sets the DHTML behavior that is associated with the designer.(Inherited from HtmlControlDesigner.)
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.(Inherited from HtmlControlDesigner.)
Public property DesignTimeHtmlRequiresLoadComplete Gets a value indicating whether the design host must finish loading before the GetDesignTimeHtml method can be called.
Public property Expressions  Gets the expression bindings for the current control at design time.(Inherited from HtmlControlDesigner.)
Public property ID Gets or sets the ID string for the control.
Public property IsDirty Gets or sets a value indicating whether the Web server control has been marked as changed.
Public property ReadOnly Gets or sets a value indicating whether the properties of the control are read-only at design time.
Public property ShouldCodeSerialize  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.(Inherited from HtmlControlDesigner.)
Public property TemplateGroups Gets a collection of template groups, each containing one or more template definitions.
Public property Verbs  Gets the design-time verbs supported by the component that is associated with the designer.(Inherited from ComponentDesigner.)
Public property ViewControl Gets or sets a Web server control that can be used for previewing the design-time HTML markup.
Public property ViewControlCreated Gets or sets a value indicating whether a View control has been created for display on the design surface.
Top

  Name Description
Protected property DataBindingsEnabled Gets a value indicating whether data binding is supported by the containing region for the associated control.
Protected property DesignerState Gets an object that is used to persist data for the associated control at design time.
Protected property DesignTimeElement  Gets the design-time object representing the control that is associated with the HtmlControlDesigner object on the design surface.(Inherited from HtmlControlDesigner.)
Protected property DesignTimeElementView Gets the view-control object for the control designer.
Protected property HidePropertiesInTemplateMode Gets a value indicating whether the properties of the associated control are hidden when the control is in template mode.
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 InTemplateMode Gets a value indicating whether the control is in either template viewing or editing mode in the design host. The InTemplateMode property is read-only.
Protected property ParentComponent  Gets the parent component for this designer.(Inherited from ComponentDesigner.)
Protected property RootDesigner Gets the control designer for the Web Forms page that contains the associated control.
Protected property ShadowProperties  Gets a collection of property values that override user settings.(Inherited from ComponentDesigner.)
Protected property Tag Gets an object representing the HTML markup element for the associated control.
Protected property UsePreviewControl Gets a value indicating whether the control designer uses a temporary preview control to generate the design-time HTML markup.
Top

(see also Protected Methods )
  Name Description
Public method Dispose  Overloaded. Releases the unmanaged resources that are used by the HtmlControlDesigner object and optionally releases the managed resources. (Inherited from HtmlControlDesigner.)
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  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
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 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.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetPersistenceContent Retrieves the persistable inner HTML markup of the control at design time.
Public method GetPersistInnerHtml Retrieves the persistable inner HTML markup of the control.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method GetViewRendering Overloaded. Retrieves an object that contains the design-time markup for the content and regions of the associated control.
Public method Initialize Overridden. Initializes the control designer and loads the specified component.
Public method InitializeExistingComponent  Reinitializes an existing component. (Inherited from ComponentDesigner.)
Public method InitializeNewComponent  Initializes a newly created component. (Inherited from ComponentDesigner.)
Public method InitializeNonDefault  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.
Public method Static 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 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.
Public method OnAutoFormatApplied Called when a predefined, automatic formatting scheme has been applied to the associated control.
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.
Public method OnSetComponentDefaults  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.)
Public method RaiseResizeEvent Raises the OnControlResize event.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
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.
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

  Name Description
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.
Protected method Dispose  Overloaded. Releases the unmanaged resources that are used by the HtmlControlDesigner object and optionally releases the managed resources. (Inherited from HtmlControlDesigner.)
Protected method Finalize  Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.)
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.
Protected method GetService  Attempts to retrieve the specified type of service from the design mode site of the designer's component. (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  Called when a behavior is associated with the element. (Inherited from HtmlControlDesigner.)
Protected method OnBehaviorDetaching  Called when a behavior disassociates from the element. (Inherited from HtmlControlDesigner.)
Protected method OnBindingsCollectionChanged Overridden. Called when the data-binding collection changes.
Protected method OnClick Called by the design host when the user clicks the associated control at design time.
Protected method OnControlResize 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.
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 Overridden. 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.
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.)
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.
Top
Show: