Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHierarchicalDataSourceDesigner Interface

Provides design-time support in a visual designer for a class that is derived from the HierarchicalDataSourceControl class.

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

public interface IHierarchicalDataSourceDesigner

The IHierarchicalDataSourceDesigner type exposes the following members.

  NameDescription
Public propertyCanConfigureGets a value indicating whether the Configure method can be called.
Public propertyCanRefreshSchemaGets a value indicating whether the RefreshSchema method can be called.
Top

  NameDescription
Public methodConfigureLaunches the configuration wizard for the underlying data source.
Public methodGetViewGets the named data source view that is associated with the data source control.
Public methodRefreshSchemaRefreshes the schema of the underlying data source.
Public methodResumeDataSourceEventsRestores events after calling the SuppressDataSourceEvents method.
Public methodSuppressDataSourceEventsTurns off events in the data source control.
Top

  NameDescription
Public eventDataSourceChangedOccurs when a data source control has changed in some way that affects data-bound controls.
Public eventSchemaRefreshedOccurs when the fields or data of the underlying data source have changed.
Top

Typically, when creating a new data source class for hierarchical data and an accompanying designer, you would inherit the HierarchicalDataSourceDesigner class rather than implement the IHierarchicalDataSourceDesigner interface.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft