ListControlDesigner Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases all the resources used by the DataBoundControlDesigner object. (Inherited from DataBoundControlDesigner.) |
| 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.) |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetBounds | Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface. (Inherited from ControlDesigner.) |
| GetDesignTimeHtml | Overloaded. Overridden. Gets the markup that is used to render the associated control at design time. |
| GetDesignTimeResourceProviderFactory | Returns an appropriate resource provider factory, depending on the globalization settings in the configuration file for the site. (Inherited from ControlDesigner.) |
| GetEditableDesignerRegionContent | Returns the content for an editable region of the design-time view of the associated control. (Inherited from ControlDesigner.) |
| 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.) |
| GetPersistenceContent | Retrieves the persistable inner HTML markup of the control at design time. (Inherited from ControlDesigner.) |
| GetPersistInnerHtml | Retrieves the persistable inner HTML markup of the control. (Inherited from ControlDesigner.) |
| GetResolvedSelectedDataSource | Gets the data source component from the associated control container, resolved to a specific data member. |
| GetSelectedDataSource | Gets the data source component from the associated control container. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| GetViewRendering | Overloaded. Retrieves an object that contains the design-time markup for the content and regions of the associated control. (Inherited from ControlDesigner.) |
| Initialize | Overridden. Prepares the designer to view, edit, and design the associated control. |
| InitializeExistingComponent | Reinitializes an existing component. (Inherited from ComponentDesigner.) |
| InitializeNewComponent | Initializes a newly created component. (Inherited from ComponentDesigner.) |
| InitializeNonDefault | Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner.) |
| Invalidate | Overloaded. Invalidates the control as displayed on the design surface and causes the design host to call the OnPaint method. (Inherited from ControlDesigner.) |
| 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. (Inherited from ControlDesigner.) |
| IsPropertyBound | Retrieves a value indicating whether the specified property on the associated control is data-bound. (Inherited from ControlDesigner.) |
| Localize | Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host. (Inherited from ControlDesigner.) |
| OnAutoFormatApplied | Called when a predefined, automatic formatting scheme has been applied to the associated control. (Inherited from ControlDesigner.) |
| OnComponentChanged | Called when the associated control changes. (Inherited from ControlDesigner.) |
| OnComponentChanging | Represents the method that will handle the ComponentChanging event for the associated control. (Inherited from ControlDesigner.) |
| OnDataSourceChanged | Overloaded. Called when the data source for the associated control has changed. |
| OnSetComponentDefaults | Sets the default properties for the component. (Inherited from ComponentDesigner.) |
| OnSetParent | Provides a way to perform additional processing when the associated control is attached to a parent control. (Inherited from HtmlControlDesigner.) |
| RaiseResizeEvent | Raises the OnControlResize event. (Inherited from ControlDesigner.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RegisterClone | Registers internal data in a cloned control. (Inherited from ControlDesigner.) |
| SetEditableDesignerRegionContent | Specifies the content for an editable region of the control at design time. (Inherited from ControlDesigner.) |
| ShowCreateDataSourceDialog | In a design host, such as Visual Studio 2005, displays a dialog box to assist the user in creating a data source. (Inherited from BaseDataBoundControlDesigner.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| UpdateDesignTimeHtml | Refreshes the design-time HTML markup for the associated Web server control by calling the GetDesignTimeHtml method. (Inherited from ControlDesigner.) |
| Name | Description | |
|---|---|---|
| ConnectToDataSource | Disconnects events from the previous data source and connects them to the current data source. (Inherited from DataBoundControlDesigner.) |
| CreateDataSource | Invokes the standard dialog box to create a new data source control, and sets the new data source control's ID to the DataSourceID property of the data-bound control. (Inherited from DataBoundControlDesigner.) |
| CreateErrorDesignTimeHtml | Overloaded. Creates HTML markup to display an error message at design time. (Inherited from ControlDesigner.) |
| CreatePlaceHolderDesignTimeHtml | Overloaded. Provides a simple rectangular placeholder representation that displays the type and ID of the control. (Inherited from ControlDesigner.) |
| CreateViewControl | Returns a copy of the associated control for viewing or rendering on the design surface. (Inherited from ControlDesigner.) |
| DataBind | Overridden. Binds the specified control to the design-time data source. |
| DisconnectFromDataSource | Disconnects the data-bound control from data source events. (Inherited from DataBoundControlDesigner.) |
| Dispose | Overloaded. Releases all the resources used by the DataBoundControlDesigner object. (Inherited from DataBoundControlDesigner.) |
| Finalize | Attempts to free resources by calling Dispose(false) before the object is reclaimed by garbage collection. (Inherited from ComponentDesigner.) |
| GetDesignTimeDataSource | Gets the design-time data source from either the associated DataSourceDesigner or the DataSource property. (Inherited from DataBoundControlDesigner.) |
| GetEmptyDesignTimeHtml | Provides the markup that is used to render the control at design time if the control is empty or if the data source cannot be retrieved. (Inherited from BaseDataBoundControlDesigner.) |
| GetErrorDesignTimeHtml | Provides the markup that is used to render the control at design time when an error has occurred. (Inherited from BaseDataBoundControlDesigner.) |
| GetSampleDataSource | Gets dummy sample data to render the data-bound control on the design surface if sample data cannot be created from the DataSourceDesigner or DataSource properties. (Inherited from DataBoundControlDesigner.) |
| GetService | Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner.) |
| InvokeGetInheritanceAttribute | Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| OnBehaviorAttached | Called when a behavior is associated with the element. (Inherited from HtmlControlDesigner.) |
| OnBehaviorDetaching | Called when a behavior disassociates from the element. (Inherited from HtmlControlDesigner.) |
| OnBindingsCollectionChanged | Called when the data-binding collection changes. (Inherited from ControlDesigner.) |
| OnClick | Called by the design host when the user clicks the associated control at design time. (Inherited from ControlDesigner.) |
| OnControlResize | Called when the associated Web server control has been resized in the design host at design time. (Inherited from ControlDesigner.) |
| OnDataSourceChanged | Overloaded. Overridden. Called when the data source for the associated control has changed. |
| OnPaint | Called when the control designer draws the associated control on the design surface, if the CustomPaint value is true. (Inherited from ControlDesigner.) |
| OnSchemaRefreshed | Called when the data source of the associated BaseDataBoundControl object loads a new schema. (Inherited from BaseDataBoundControlDesigner.) |
| PostFilterAttributes | Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.) |
| PostFilterEvents | Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.) |
| PostFilterProperties | Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.) |
| PreFilterAttributes | Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner.) |
| PreFilterEvents | Sets the list of events that are exposed at design-time for the TypeDescriptor object for the component. (Inherited from HtmlControlDesigner.) |
| PreFilterProperties | Overridden. Used by the designer to remove additional properties from or add properties to the display in the Properties grid or to shadow properties of the associated control. |
| RaiseComponentChanged | Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner.) |
| RaiseComponentChanging | Notifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner.) |
| SetRegionContent | Specifies the content for an editable region in the design-time view of the control. (Inherited from ControlDesigner.) |
| SetViewFlags | Assigns the specified bitwise ViewFlags enumeration to the specified flag value. (Inherited from ControlDesigner.) |
Reference
ListControlDesigner ClassSystem.Web.UI.Design.WebControls Namespace
ListControl
DataBoundControl
DataBoundControlDesigner Class
BaseDataBoundControl
BaseDataBoundControlDesigner Class
WebControl
ControlDesigner Class
Other Resources
ASP.NET Control Designers OverviewWalkthrough: Creating a Basic Control Designer for a Web Server Control
Show: