DesignTimeData Class
TOC
Collapse the table of content
Expand the table of content

DesignTimeData Class

 

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.

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

System.Object
  System.Web.UI.Design.DesignTimeData

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class DesignTimeData

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateDummyDataBoundDataTable()

Creates a DataTable object that contains three columns with names indicating that the columns are connected to a data source.

System_CAPS_pubmethodSystem_CAPS_staticCreateDummyDataTable()

Creates a DataTable object that contains three columns with names that indicate that the columns contain sample data.

System_CAPS_pubmethodSystem_CAPS_staticCreateSampleDataTable(IEnumerable)

Creates a sample DataTable object with the same schema as the provided data.

System_CAPS_pubmethodSystem_CAPS_staticCreateSampleDataTable(IEnumerable, Boolean)

Creates a DataTable object with the same schema as the provided data and optionally containing column names indicating that the data is bound data.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetDataFields(IEnumerable)

Gets a collection of property descriptors for the data fields of the specified data source.

System_CAPS_pubmethodSystem_CAPS_staticGetDataMember(IListSource, String)

Gets the specified data member from the specified data source.

System_CAPS_pubmethodSystem_CAPS_staticGetDataMembers(Object)

Gets the names of the data members in the specified data source.

System_CAPS_pubmethodSystem_CAPS_staticGetDesignTimeDataSource(DataTable, Int32)

Adds the specified number of sample rows to the specified data table.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetSelectedDataSource(IComponent, String)

Gets a data source selected by name in the design host, represented by the specified component's site property and identified by the specified data source name.

System_CAPS_pubmethodSystem_CAPS_staticGetSelectedDataSource(IComponent, String, String)

Gets a data source selected by name in the design host, represented by the specified component's site property and identified by the specified data-source name and member name.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDataBindingHandler

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an event handler for data binding.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft