Export (0) Print
Expand All

IDataSourceDesigner Interface

Defines the basic functionality for a data source designer.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

'Declaration
Public Interface IDataSourceDesigner
'Usage
Dim instance As IDataSourceDesigner

The IDataSourceDesigner interface defines an interface through which you can implement basic services for a data source designer. A designer is only active at design time, and must be associated with a data source, using a DesignerAttribute, in order to be loaded when a data source of the associated type is created at design time.

The IDataSourceDesigner interface provides methods and properties that you can implement in order to provide custom behavior at design time.

A designer can also use the available design-time services to perform a variety of tasks, including surveying the current design-time environment for components and their properties, reading and setting the values of properties of components, managing the toolbox, managing selected components, or displaying a user interface that can be used to configure values or to apply further processing.

In most cases, implement your custom designer for a data source by deriving it from the DataSourceDesigner class. Data sources whose associated designer does not derive from DataSourceDesigner are displayed in the component tray. The DataSourceDesigner class implements the IDataSourceDesigner interface and provides additional design-time support that may be of use to authors of designers. For more information, see the reference documentation for these classes.

For an overview of creating design components, see Extending Design-Time Support.

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft