DesignTimeData Members

Provides helper methods that can be used by control designers to generate sample data for data-bound properties at design time. This class cannot be inherited.

The following tables list the members exposed by the DesignTimeData type.

  Name Description
Public field Static DataBindingHandler Gets an event handler for data binding.
Top

(see also Protected Methods )
  Name Description
Public method Static CreateDummyDataBoundDataTable Creates a DataTable object that contains three columns with names indicating that the columns are connected to a data source.
Public method Static CreateDummyDataTable Creates a DataTable object that contains three columns with names that indicate that the columns contain sample data.
Public method Static CreateSampleDataTable Overloaded. Creates a DataTable object with the same schema as the provided data.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetDataFields Gets a collection of property descriptors for the data fields of the specified data source.
Public method Static GetDataMember Gets the specified data member from the specified data source.
Public method Static GetDataMembers Gets the names of the data members in the specified data source.
Public method Static GetDesignTimeDataSource Adds the specified number of sample rows to the specified data table.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetSelectedDataSource Overloaded. Gets a data source selected by name in the design host, represented by the specified component's site property.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show: