AutoGenerateFields Property

Gets/sets whether the Fields collection will be automatically populated with Fields for every property in the underlying data.
Public Property AutoGenerateFields As Nullable(Of Boolean)
public Nullable<bool> AutoGenerateFields {get; set;}

Refer to the Assigning a FieldLayout topic in the Developer's Guide for an explanantion of the auot generation process.

Note: Setting this property to false is ignored if BindToSampleData is set to true.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also