संपादित करें

इसके माध्यम से साझा किया गया


DesignerHierarchicalDataSourceView Class

Definition

Provides a base class for designers for data views based on hierarchical data. This class must be inherited.

public ref class DesignerHierarchicalDataSourceView abstract
public abstract class DesignerHierarchicalDataSourceView
type DesignerHierarchicalDataSourceView = class
Public MustInherit Class DesignerHierarchicalDataSourceView
Inheritance
DesignerHierarchicalDataSourceView
Derived

Remarks

The DesignerHierarchicalDataSourceView class is used by developers of custom data source designers.

Notes to Implementers

You inherit this class as part of a suite of classes to support your own custom data source control for hierarchical data, such as XML data. Override the Schema property to provide a custom object that is derived from the IDataSourceSchema class. Override the GetDesignTimeData(Boolean) method to provide sample data to the control designer at design time.

Constructors

DesignerHierarchicalDataSourceView(IHierarchicalDataSourceDesigner, String)

Initiates a new instance of the DesignerHierarchicalDataSourceView class.

Properties

DataSourceDesigner

Gets the associated designer.

Path

Gets the path to the block of data that is presented in the view.

Schema

Gets a schema that describes the data source view for the associated control.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDesignTimeData(Boolean)

Generates design-time data that matches the schema of the associated data source control and returns a value indicating whether the data is sample or real data.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also