แก้ไข

แชร์ผ่าน


DataControlFieldDesigner Class

Definition

Provides design-time support in a visual designer for adding and editing data fields in a data-bound control, such as GridView or DetailsView.

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

Constructors

DataControlFieldDesigner()

Initializes a new instance of the DataControlFieldDesigner class.

Properties

DefaultNodeText

When overridden in a derived class, gets the default text that is displayed for the data field in the fields editor.

ServiceProvider

Gets the service provider implementation that is used by the fields editor.

UsesSchema

When overridden in a derived class, gets a value that indicates whether schema information is used to load the data fields.

Methods

CreateField()

When overridden in a derived class, creates an empty field object.

CreateField(IDataSourceFieldSchema)

When overridden in a derived class, creates a new field object using the specified data field information.

CreateTemplateField(DataControlField, DataBoundControl)

When overridden in a derived class, creates a TemplateField field for the specified data field.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetNewDataSourceName(Type, DataBoundControlMode)

Gets an unique ID for a control that is created when a data field is converted into a TemplateField.

GetNodeText(DataControlField)

When overridden in a derived class, gets the name that is displayed for the data field in the fields editor.

GetService(Type)

Gets the service object of the specified type.

GetTemplate(DataBoundControl, String)

Gets the ITemplate object that contains the template markup for the specified data-bound control.

GetTemplateField(DataControlField, DataBoundControl)

Gets a TemplateField object for the specified data field.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsEnabled(DataBoundControl)

When overridden in a derived class, gets a value that indicates whether the data field is enabled in the fields editor.

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