AutoFieldsGenerator::CreateAutoGeneratedFieldFromFieldProperties Method (AutoGeneratedFieldProperties^)
.NET Framework (current version)
Creates one or more autogenerated fields using the specified collection of field properties.
Assembly: System.Web (in System.Web.dll)
protected: virtual AutoGeneratedField^ CreateAutoGeneratedFieldFromFieldProperties( AutoGeneratedFieldProperties^ fieldProperties )
Parameters
- fieldProperties
-
Type:
System.Web.UI.WebControls::AutoGeneratedFieldProperties^
The list of properties to use when creating the field.
This method sets the header text and sort expression of the field to the Name value of fieldProperties, sets the ReadOnly property of the field to the IsReadOnly value of fieldProperties, and sets the DataType property of the field to the Type value of fieldProperties.
This method can be overridden to create a different field.
.NET Framework
Available since 4.5
Available since 4.5
Show: