Editar

Partilhar via


AutoFieldsGenerator Class

Definition

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

public ref class AutoFieldsGenerator abstract : System::Web::UI::IAutoFieldGenerator, System::Web::UI::IStateManager
public abstract class AutoFieldsGenerator : System.Web.UI.IAutoFieldGenerator, System.Web.UI.IStateManager
type AutoFieldsGenerator = class
    interface IAutoFieldGenerator
    interface IStateManager
Public MustInherit Class AutoFieldsGenerator
Implements IAutoFieldGenerator, IStateManager
Inheritance
AutoFieldsGenerator
Derived
Implements

Constructors

AutoFieldsGenerator()

Initializes a new instance of the AutoFieldsGenerator class.

Properties

AutoGeneratedFieldProperties

Returns a list of the properties of an AutoGeneratedField object.

AutoGenerateEnumFields

Gets or sets a value that indicates whether enumeration fields should be generated by this AutoFieldsGenerator instance.

IsTrackingViewState

Gets a value that indicates whether view state changes are being tracked.

Methods

CreateAutoGeneratedFieldFromFieldProperties(AutoGeneratedFieldProperties)

Creates one or more autogenerated fields using the specified collection of field properties.

CreateAutoGeneratedFields(Object, Control)

When implemented in a derived class, creates autogenerated fields based on the current data item.

Equals(Object)

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

(Inherited from Object)
GenerateFields(Control)

Creates DynamicField objects based on metadata information for the table.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadViewState(Object)

Loads the state that was saved previously using the SaveViewState() method.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SaveViewState()

Saves the changes to the class's state.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TrackViewState()

Instructs the class to track changes to its view state.

Explicit Interface Implementations

IStateManager.IsTrackingViewState

Gets a value that indicates whether view state changes are being tracked.

IStateManager.LoadViewState(Object)

Loads the state that was saved previously using the SaveViewState() method.

IStateManager.SaveViewState()

Saves the changes to a class's state.

IStateManager.TrackViewState()

Instructs the class to track changes to its view state.

Applies to