DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) Method

Definition

Creates an AutoGeneratedField object that represents an automatically generated row field using the specified field properties.

protected:
 virtual System::Web::UI::WebControls::AutoGeneratedField ^ CreateAutoGeneratedRow(System::Web::UI::WebControls::AutoGeneratedFieldProperties ^ fieldProperties);
protected virtual System.Web.UI.WebControls.AutoGeneratedField CreateAutoGeneratedRow (System.Web.UI.WebControls.AutoGeneratedFieldProperties fieldProperties);
abstract member CreateAutoGeneratedRow : System.Web.UI.WebControls.AutoGeneratedFieldProperties -> System.Web.UI.WebControls.AutoGeneratedField
override this.CreateAutoGeneratedRow : System.Web.UI.WebControls.AutoGeneratedFieldProperties -> System.Web.UI.WebControls.AutoGeneratedField
Protected Overridable Function CreateAutoGeneratedRow (fieldProperties As AutoGeneratedFieldProperties) As AutoGeneratedField

Parameters

Returns

An AutoGeneratedField that contains the field properties specified by the fieldProperties parameter.

Remarks

The CreateAutoGeneratedRow method is a helper method called by the DetailsView control to create an automatically generated row field using the specified field properties.

Notes to Inheritors

When extending the DetailsView class, you can override this method to create your own automatically generated row field.

Applies to

See also