DataLayoutControl.RetrieveFields(RetrieveFieldsParameters) Method
Creates layout items for all public fields in the bound data source and allows you to customize general binding and layout settings.
Namespace: DevExpress.XtraDataLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
parameters | RetrieveFieldsParameters | An object that provides additional binding and layout customization options. |
Remarks
This overload does all the actions performed by the DataLayoutControl.RetrieveFields method overload with no parameters. In addition, it allows you to customize general binding and layout settings using the parameters parameter.
Gets or sets the default value used to initialize the Binding.DataSourceUpdateMode property for all auto-generated editors. https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.binding.datasourceupdatemode This property indicates when changes to the bound editor property are propagated to the data source. | |
Gets or sets the default value used to initialize the Binding.DataSourceNullValue property for all auto-generated editors. This property identifies the value to be stored in the data source if the editor’s value is null or empty. | |
Gets or sets the number of columns in the layout that will be generated. |
For information on customizing binding and layout settings during layout generation, see Binding to Data Source in Code.
To learn how to customize an existing layout, see Customizing a Layout In Code.