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.
Assembly: System.Design (in System.Design.dll)
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 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 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 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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.