DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- fieldProperties
- AutoGeneratedFieldProperties
An AutoGeneratedFieldProperties that contains the properties for the AutoGeneratedField.
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.