System.Web.UI.Design.DataSourceDesigner Members

The members of System.Web.UI.Design.DataSourceDesigner are listed below.

See Also: Inherited members from System.Web.UI.Design.ControlDesigner

Public Constructors

Initializes a new instance of the System.Web.UI.Design.DataSourceDesigner class.

Public Properties

[read-only]
override
ActionListsSystem.ComponentModel.Design.DesignerActionListCollection.

Gets a list of items that are used to create an action list menu at design time.

[read-only]
CanConfigurebool.

Gets a value indicating whether the DataSourceDesigner.Configure method can be called.

[read-only]
CanRefreshSchemabool.

Gets a value indicating whether the DataSourceDesigner.RefreshSchema(bool) method can be called.

Protected Properties

[read-only]
SuppressingDataSourceEventsbool.

Gets a value indicating whether the DataSourceDesigner.DataSourceChanged event or the DataSourceDesigner.RefreshSchema(bool) method occurs.

Public Methods

Configure()

Launches the data source configuration utility in the design host.

override
GetDesignTimeHtml() : string

Retrieves the HTML markup for displaying the associated data source control at design time.

GetView(string) : DesignerDataSourceView

Retrieves a System.Web.UI.Design.DesignerDataSourceView object that is identified by the view name.

GetViewNames() : string[]

Returns an array of the view names that are available in this data source.

RefreshSchema(bool)

Refreshes the schema from the data source, while optionally suppressing events.

ResumeDataSourceEvents()

Restores data source events after the data source events have been suppressed.

static
SchemasEquivalent(IDataSourceSchema, IDataSourceSchema) : bool

Provides a value that indicates whether two schemas are equal.

SuppressDataSourceEvents()

Postpones all data source events until after the DataSourceDesigner.ResumeDataSourceEvents method is called.

static
ViewSchemasEquivalent(IDataSourceViewSchema, IDataSourceViewSchema) : bool

Provides a value that determines whether two schema views are equal.

Protected Methods

OnDataSourceChanged(EventArgs)

Raises the DataSourceDesigner.DataSourceChanged event when the properties of the data source have changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.

OnSchemaRefreshed(EventArgs)

Raises the DataSourceDesigner.SchemaRefreshed event when the schema of the data source has changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.

Public Events

DataSourceChanged

Occurs when any property of the associated data source changes.

SchemaRefreshed

Occurs after the schema has been refreshed.