Export (0) Print
Expand All

AutoFieldsGenerator Class

.NET Framework 4.5

Represents a base class for classes that automatically generate fields for data-bound controls that use ASP.NET Dynamic Data features.

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

public abstract class AutoFieldsGenerator : IAutoFieldGenerator, 
	IStateManager

The AutoFieldsGenerator type exposes the following members.

  NameDescription
Protected methodAutoFieldsGeneratorInitializes a new instance of the AutoFieldsGenerator class.
Top

  NameDescription
Protected propertyAutoGeneratedFieldPropertiesReturns a list of the properties of an AutoGeneratedField object.
Public propertyAutoGenerateEnumFieldsGets or sets a value that indicates whether enumeration fields should be generated by this AutoFieldsGenerator instance.
Protected propertyIsTrackingViewStateGets a value that indicates whether view state changes are being tracked.
Top

  NameDescription
Protected methodCreateAutoGeneratedFieldFromFieldPropertiesCreates one or more autogenerated fields using the specified collection of field properties.
Public methodCreateAutoGeneratedFieldsWhen implemented in a derived class, creates autogenerated fields based on the current data item.
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 methodGenerateFieldsCreates DynamicField objects based on metadata information for the table.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodLoadViewStateLoads the state that was saved previously using the SaveViewState method.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSaveViewStateSaves the changes to the class's state.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodTrackViewStateInstructs the class to track changes to its view state.
Top

  NameDescription
Explicit interface implemetationPrivate propertyIStateManager.IsTrackingViewStateGets a value that indicates whether view state changes are being tracked.
Explicit interface implemetationPrivate methodIStateManager.LoadViewStateLoads the state that was saved previously using the SaveViewState method.
Explicit interface implemetationPrivate methodIStateManager.SaveViewStateSaves the changes to a class's state.
Explicit interface implemetationPrivate methodIStateManager.TrackViewStateInstructs the class to track changes to its view state.
Top

.NET Framework

Supported in: 4.6

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