Export (0) Print
Expand All

ControlDesigner Members

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

The ControlDesigner type exposes the following members.

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

  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
Public property ActionLists Gets the action list collection for the control designer. (Overrides ComponentDesigner.ActionLists.)
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 Obsolete. 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.)
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 Obsolete. 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 Obsolete. Gets the view-control object for the control designer.
Public property DesignTimeHtmlRequiresLoadComplete Obsolete. 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.)
Protected property HidePropertiesInTemplateMode Infrastructure. Gets a value indicating whether the properties of the associated control are hidden when the control is in template mode.
Public property ID Gets or sets the ID string for the control.
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.
Public property IsDirty Obsolete. Gets or sets a value indicating whether the Web server control has been marked as changed.
Protected property ParentComponent Gets the parent component for this designer. (Inherited from ComponentDesigner.)
Public property ReadOnly Obsolete. Gets or sets a value indicating whether the properties of the control are read-only at design time.
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.)
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. (Inherited from HtmlControlDesigner.)
Protected property Tag Gets an object representing the HTML markup element for the associated control.
Public property TemplateGroups Gets a collection of template groups, each containing one or more template definitions.
Protected property UsePreviewControl Gets a value indicating whether the control designer uses a temporary preview control to generate the design-time HTML markup.
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.
Protected property Visible Gets a value that indicates whether the control is visible at design time.
Top

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