This documentation is archived and is not being maintained.
DesignTimeData Members
Visual Studio 2008
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 DesignTimeData type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateDummyDataBoundDataTable | Creates a DataTable object that contains three columns with names indicating that the columns are connected to a data source. |
|
CreateDummyDataTable | Creates a DataTable object that contains three columns with names that indicate that the columns contain sample data. |
|
CreateSampleDataTable | Overloaded. Creates a DataTable object with the same schema as the provided data. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetDataFields | Gets a collection of property descriptors for the data fields of the specified data source. |
|
GetDataMember | Gets the specified data member from the specified data source. |
|
GetDataMembers | Gets the names of the data members in the specified data source. |
|
GetDesignTimeDataSource | Adds the specified number of sample rows to the specified data table. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetSelectedDataSource | Overloaded. Gets a data source selected by name in the design host, represented by the specified component's site property. |
|
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.) |
Show: