Export (0) Print
Expand All

DataControlFieldDesigner Class

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

System.Object
  System.Web.UI.Design.WebControls.DataControlFieldDesigner
    System.Web.DynamicData.Design.DynamicFieldDesigner

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

public abstract class DataControlFieldDesigner

The DataControlFieldDesigner type exposes the following members.

  NameDescription
Protected methodDataControlFieldDesignerInitializes a new instance of the DataControlFieldDesigner class.
Top

  NameDescription
Public propertyDefaultNodeTextWhen overridden in a derived class, gets the default text that is displayed for the data field in the fields editor.
Protected propertyServiceProviderGets the service provider implementation that is used by the fields editor.
Public propertyUsesSchemaWhen overridden in a derived class, gets a value that indicates whether schema information is used to load the data fields.
Top

  NameDescription
Public methodCreateField()When overridden in a derived class, creates an empty field object.
Public methodCreateField(IDataSourceFieldSchema)When overridden in a derived class, creates a new field object using the specified data field information.
Public methodCreateTemplateFieldWhen overridden in a derived class, creates a TemplateField field for the specified data field.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetNewDataSourceNameGets an unique ID for a control that is created when a data field is converted into a TemplateField.
Public methodGetNodeTextWhen overridden in a derived class, gets the name that is displayed for the data field in the fields editor.
Protected methodGetServiceGets the service object of the specified type.
Protected methodGetTemplateGets the ITemplate object that contains the template markup for the specified data-bound control.
Protected methodGetTemplateFieldGets a TemplateField object for the specified data field.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsEnabledWhen overridden in a derived class, gets a value that indicates whether the data field is enabled in the fields editor.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5, 4, 3.5 SP1, 3.0 SP2, 2.0 SP2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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