BaseDataListDesigner Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a base class for components that provide design-time support in a designer host for Web server controls that are derived from the BaseDataList class.
public ref class BaseDataListDesigner abstract : System::Web::UI::Design::TemplatedControlDesigner, System::Web::UI::Design::IDataSourceProvider
public ref class BaseDataListDesigner abstract : System::Web::UI::Design::TemplatedControlDesigner, System::Web::UI::Design::IDataBindingSchemaProvider, System::Web::UI::Design::IDataSourceProvider
public abstract class BaseDataListDesigner : System.Web.UI.Design.TemplatedControlDesigner, System.Web.UI.Design.IDataSourceProvider
public abstract class BaseDataListDesigner : System.Web.UI.Design.TemplatedControlDesigner, System.Web.UI.Design.IDataBindingSchemaProvider, System.Web.UI.Design.IDataSourceProvider
type BaseDataListDesigner = class
inherit TemplatedControlDesigner
interface IDataSourceProvider
type BaseDataListDesigner = class
inherit TemplatedControlDesigner
interface IDataBindingSchemaProvider
interface IDataSourceProvider
Public MustInherit Class BaseDataListDesigner
Inherits TemplatedControlDesigner
Implements IDataSourceProvider
Public MustInherit Class BaseDataListDesigner
Inherits TemplatedControlDesigner
Implements IDataBindingSchemaProvider, IDataSourceProvider
- Inheritance
-
BaseDataListDesigner
- Derived
- Implements
In a designer host, when the user switches from Source to Design view, the markup source code that describes a control derived from the BaseDataList abstract class is parsed and a design-time version of the control is created on the design surface. When the user switches back to Source view, the design-time control is persisted to markup source code and edited into the markup for the Web page. The BaseDataListDesigner abstract class serves as a base class for components that provide design-time support for controls that are derived from the BaseDataList in a designer host.
The BaseDataListDesigner class properties provide the following functionality:
The ActionLists property returns a DesignerActionListCollection object, which typically contains an object that is derived from the DesignerActionList class for each level in the inheritance tree of the designer.
The DataKeyField, DataMember, DataSource, and DataSourceID properties provide access to the corresponding properties of the associated control.
The DataSourceDesigner property provides access to the designer of the data source of the associated control. The DesignerView property gets the default view of the data source.
The BaseDataListDesigner class methods provide the following functionality:
The Initialize method prepares the designer to view, edit, and design the associated control. The InvokePropertyBuilder method invokes a component editor for the control. The PreFilterProperties method is used to add, remove, or shadow design-time properties of the associated control.
The GetDesignTimeDataSource method generates an object that can be used as a data source at design time. The GetSelectedDataSource method gets the data source from the container of the associated control. The GetResolvedSelectedDataSource method gets the data source from the control container, resolved to a specific data member. The GetTemplateContainerDataSource method gets the data source of the template container.
The OnComponentChanged method is called when there is a change to the associated control. The OnDataSourceChanged method is called when the associated control data source has changed. The OnSchemaRefreshed method is called when the schema of the associated control data source changes. The OnAutoFormatApplied method is called when an automatic formatting scheme has been applied.
The OnStylesChanged and OnTemplateEditingVerbsChanged methods can be overridden to implement functionality that should occur when an associated control style has changed or when the designer template-editing verbs have changed, respectively. The OnPropertyBuilder method handles the property-builder event.
Base |
Initializes a new instance of the BaseDataListDesigner class. |
Action |
Gets the designer action list collection for this designer. |
Action |
Gets the action list collection for the control designer. (Inherited from ControlDesigner) |
Active |
Obsolete.
Gets the active template editing frame. (Inherited from TemplatedControlDesigner) |
Allow |
Gets a value indicating whether the control can be resized in the design-time environment. (Inherited from ControlDesigner) |
Associated |
Gets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner) |
Auto |
Gets the collection of predefined automatic formatting schemes to display in the Auto Format dialog box for the associated control at design time. (Inherited from ControlDesigner) |
Behavior |
Obsolete.
Gets or sets the DHTML behavior that is associated with the designer. (Inherited from HtmlControlDesigner) |
Can |
Gets a value indicating whether or not this designer will allow the viewing or editing of templates. (Inherited from TemplatedControlDesigner) |
Component |
Gets the component this designer is designing. (Inherited from ComponentDesigner) |
Data |
Gets the data bindings collection for the current control. (Inherited from HtmlControlDesigner) |
Data |
Gets a value indicating whether the designer allows data binding. (Inherited from TemplatedControlDesigner) |
Data |
Gets or sets the value of the data key field of the associated control. |
Data |
Gets or sets the value of the data member field of the associated control. |
Data |
Gets or sets the value of the data source property of the associated control. |
Data |
Gets the designer of the data source, when one is selected for data binding. |
Data |
Gets or sets the designer's version of the data source ID property and is used to shadow the corresponding property of the associated control. |
Designer |
Gets an object that is used to persist data for the associated control at design time. (Inherited from ControlDesigner) |
Designer |
Gets the default view of the data source that is bound to the associated control. |
Design |
Obsolete.
Gets the design-time object representing the control that is associated with the HtmlControlDesigner object on the design surface. (Inherited from HtmlControlDesigner) |
Design |
Obsolete.
Gets the view-control object for the control designer. (Inherited from ControlDesigner) |
Design |
Gets a value indicating whether loading must be complete to display the design-time markup. |
Design |
Obsolete.
Gets a value indicating whether the design host must finish loading before the GetDesignTimeHtml method can be called. (Inherited from ControlDesigner) |
Expressions |
Gets the expression bindings for the current control at design time. (Inherited from HtmlControlDesigner) |
Hide |
Gets a value indicating whether the properties of the control will be hidden when the control is placed into template editing mode. (Inherited from TemplatedControlDesigner) |
ID |
Gets or sets the ID string for the control. (Inherited from ControlDesigner) |
Inheritance |
Gets an attribute that indicates the type of inheritance of the associated component. (Inherited from ComponentDesigner) |
Inherited |
Gets a value indicating whether this component is inherited. (Inherited from ComponentDesigner) |
In |
Obsolete.
Gets a value indicating whether the designer document is in template mode. (Inherited from TemplatedControlDesigner) |
Is |
Obsolete.
Gets or sets a value indicating whether the Web server control has been marked as changed. (Inherited from ControlDesigner) |
Parent |
Gets the parent component for this designer. (Inherited from ComponentDesigner) |
Read |
Obsolete.
Gets or sets a value indicating whether the properties of the control are read-only at design time. (Inherited from ControlDesigner) |
Root |
Gets the control designer for the Web Forms page that contains the associated control. (Inherited from ControlDesigner) |
Set |
(Inherited from ComponentDesigner) |
Shadow |
Gets a collection of property values that override user settings. (Inherited from ComponentDesigner) |
Should |
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) |
Tag |
Gets an object representing the HTML markup element for the associated control. (Inherited from ControlDesigner) |
Template |
Gets a collection of template groups, each containing a template definition. (Inherited from TemplatedControlDesigner) |
Use |
Gets a value indicating whether the control designer uses a temporary preview control to generate the design-time HTML markup. (Inherited from ControlDesigner) |
Verbs |
Gets the collection of verbs available to this designer. |
Verbs |
Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner) |
View |
Gets or sets a Web server control that can be used for previewing the design-time HTML markup. (Inherited from ControlDesigner) |
View |
Gets or sets a value indicating whether a |
Visible |
Gets a value that indicates whether the control is visible at design time. (Inherited from ControlDesigner) |
Create |
Creates the HTML markup to display a specified exception error message at design time. (Inherited from ControlDesigner) |
Create |
Creates HTML markup to display a specified error message at design time. (Inherited from ControlDesigner) |
Create |
Provides a simple rectangular placeholder representation that displays the type and ID of the control. (Inherited from ControlDesigner) |
Create |
Provides a simple rectangular placeholder representation that displays the type and ID of the control, and also additional specified instructions or information. (Inherited from ControlDesigner) |
Create |
Obsolete.
When overridden in a derived class, creates a template editing frame for the specified verb. (Inherited from TemplatedControlDesigner) |
Create |
Returns a copy of the associated control for viewing or rendering on the design surface. (Inherited from ControlDesigner) |
Dispose() |
Releases all resources used by the ComponentDesigner. (Inherited from ComponentDesigner) |
Dispose(Boolean) |
Releases the unmanaged resources that are used by the designer and optionally releases the managed resources. |
Do |
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) |
Enter |
Obsolete.
Opens a particular template frame object for editing in the designer. (Inherited from TemplatedControlDesigner) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Exit |
Obsolete.
Closes the currently active template editing frame after saving any relevant changes. (Inherited from TemplatedControlDesigner) |
Get |
Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface. (Inherited from ControlDesigner) |
Get |
Obsolete.
Gets the cached template editing verbs. (Inherited from TemplatedControlDesigner) |
Get |
Generates an object that can be used as a data source at design time. |
Get |
Generates an object that can be used as a data source at design time. |
Get |
Retrieves the HTML markup that is used to represent the control at design time. (Inherited from ControlDesigner) |
Get |
Retrieves the HTML markup to display the control and populates the collection with the current control designer regions. (Inherited from ControlDesigner) |
Get |
Returns the content for an editable region of the design-time view of the associated control. (Inherited from ControlDesigner) |
Get |
Retrieves the HTML markup to represent a Web server control at design time that will have no visual representation at run time. (Inherited from ControlDesigner) |
Get |
Retrieves the HTML markup that provides information about the specified exception. (Inherited from ControlDesigner) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Retrieves the persistable inner HTML markup of the control at design time. (Inherited from ControlDesigner) |
Get |
Gets the markup to persist for the content that is in the associated server control runtime. (Inherited from TemplatedControlDesigner) |
Get |
Gets the data source component from the associated control container, resolved to a specific data member. |
Get |
Gets the data source component from the associated control container. |
Get |
Attempts to retrieve the specified type of service from the design mode site of the designer's component. (Inherited from ComponentDesigner) |
Get |
Obsolete.
Gets the data item property of the template's container. (Inherited from TemplatedControlDesigner) |
Get |
Obsolete.
Gets the data source of the template's container. |
Get |
Obsolete.
When overridden in a derived class, gets the template's content. (Inherited from TemplatedControlDesigner) |
Get |
Obsolete.
Gets the template editing verbs available to the designer. (Inherited from TemplatedControlDesigner) |
Get |
Creates a template from the specified text. (Inherited from TemplatedControlDesigner) |
Get |
Obsolete.
Gets the type of the parent of the template property. (Inherited from TemplatedControlDesigner) |
Get |
Gets a string of text that represents the specified template. (Inherited from TemplatedControlDesigner) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Get |
Retrieves an object that contains the design-time markup for the content and regions of the associated control. (Inherited from ControlDesigner) |
Initialize(IComponent) |
Prepares the designer to view, edit, and design the associated control. |
Initialize |
Reinitializes an existing component. (Inherited from ComponentDesigner) |
Initialize |
Initializes a newly created component. (Inherited from ComponentDesigner) |
Initialize |
Obsolete.
Obsolete.
Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner) |
Invalidate() |
Invalidates the whole area of the control that is displayed on the design surface and signals the control designer to redraw the control. (Inherited from ControlDesigner) |
Invalidate(Rectangle) |
Invalidates the specified area of the control that is displayed on the design surface and signals the control designer to redraw the control. (Inherited from ControlDesigner) |
Invoke |
Gets the InheritanceAttribute of the specified ComponentDesigner. (Inherited from ComponentDesigner) |
Invoke |
Invokes a component editor for the associated control. |
Is |
Obsolete.
Retrieves a value indicating whether the specified property on the associated control is data-bound. (Inherited from ControlDesigner) |
Localize(IDesign |
Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host. (Inherited from ControlDesigner) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Obsolete.
Handles the |
On |
Called when an automatic formatting scheme has been applied to the associated control. |
On |
Called when a predefined, automatic formatting scheme has been applied to the associated control. (Inherited from ControlDesigner) |
On |
Obsolete.
Provides an opportunity to perform additional processing when a behavior is attached to the designer. (Inherited from TemplatedControlDesigner) |
On |
Obsolete.
Called when a behavior disassociates from the element. (Inherited from HtmlControlDesigner) |
On |
Obsolete.
Called when the data-binding collection changes. (Inherited from ControlDesigner) |
On |
Called by the design host when the user clicks the associated control at design time. (Inherited from ControlDesigner) |
On |
Called when there is a change to the associated control. |
On |
Represents the method that will handle the ComponentChanging event for the associated control. (Inherited from ControlDesigner) |
On |
Obsolete.
Called when the associated Web server control has been resized in the design host at design time. (Inherited from ControlDesigner) |
On |
Called when the data source for the associated control has changed. |
On |
Called when the control designer draws the associated control on the design surface, if the CustomPaint value is |
On |
Represents the method that handles the property-builder event. |
On |
Called when the schema of the data source for the associated control changes. |
On |
Obsolete.
Obsolete.
Sets the default properties for the component. (Inherited from ComponentDesigner) |
On |
Provides an opportunity to perform additional processing when the parent of this designer is changed. (Inherited from TemplatedControlDesigner) |
On |
Can be overridden to implement functionality that should occur when a style of the associated control has changed. |
On |
Can be overridden to implement functionality that should occur when the designer template-editing verbs have changed. |
On |
Provides an opportunity to perform additional processing when the template mode is changed. (Inherited from TemplatedControlDesigner) |
Post |
Allows a designer to change or remove items from the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
Post |
Allows a designer to change or remove items from the set of events that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
Post |
Allows a designer to change or remove items from the set of properties that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
Pre |
Allows a designer to add to the set of attributes that it exposes through a TypeDescriptor. (Inherited from ComponentDesigner) |
Pre |
Sets the list of events that are exposed at design-time for the TypeDescriptor object for the component. (Inherited from HtmlControlDesigner) |
Pre |
Used by the designer to remove properties from or add additional properties to the display in the Properties grid or to shadow properties of the associated control. |
Raise |
Notifies the IComponentChangeService that this component has been changed. (Inherited from ComponentDesigner) |
Raise |
Notifies the IComponentChangeService that this component is about to be changed. (Inherited from ComponentDesigner) |
Raise |
Obsolete.
Raises the OnControlResize() event. (Inherited from ControlDesigner) |
Register |
Registers internal data in a cloned control. (Inherited from ControlDesigner) |
Save |
Saves the active template editing frame. (Inherited from TemplatedControlDesigner) |
Set |
Specifies the content for an editable region of the control at design time. (Inherited from ControlDesigner) |
Set |
Specifies the content for an editable region in the design-time view of the control. (Inherited from ControlDesigner) |
Set |
Obsolete.
When overridden in a derived class, sets the specified template's content to the specified content. (Inherited from TemplatedControlDesigner) |
Set |
Assigns the specified bitwise ViewFlags enumeration to the specified flag value. (Inherited from ControlDesigner) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Update |
Updates the design-time HTML. (Inherited from TemplatedControlDesigner) |
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: