BaseDataListDesigner Class
Assembly: System.Design (in system.design.dll)
public ref class BaseDataListDesigner abstract : public TemplatedControlDesigner, IDataBindingSchemaProvider, IDataSourceProvider
public abstract class BaseDataListDesigner extends TemplatedControlDesigner implements IDataBindingSchemaProvider, IDataSourceProvider
public abstract class BaseDataListDesigner extends TemplatedControlDesigner implements IDataBindingSchemaProvider, IDataSourceProvider
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.
- SecurityPermission for permission to call unmanaged code. Demand value: Demand. Permission value: UnmanagedCode
System.ComponentModel.Design.ComponentDesigner
System.Web.UI.Design.HtmlControlDesigner
System.Web.UI.Design.ControlDesigner
System.Web.UI.Design.TemplatedControlDesigner
System.Web.UI.Design.WebControls.BaseDataListDesigner
System.Web.UI.Design.WebControls.DataGridDesigner
System.Web.UI.Design.WebControls.DataListDesigner
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.