Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IModelListView.FreezeColumnIndices Property

Specifies whether automatic update of the List Views‘s column indices is disabled.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ModelBrowsable(typeof(NotNewNodeVisibleCalculator))]
bool FreezeColumnIndices { get; set; }

Property Value

Type Description
Boolean

true, if the automatic update of indices is disabled; otherwise, false. The default is false.

Remarks

By default, the column indices are updated automatically in the following cases:

  • when you make changes in the business model (e.g., add a new property to the business class);
  • when you modify column indices at a lower Application Model layer (e.g., you modify indices in the module project, and indices are automatically updated in the application project).

Set the FreezeColumnIndices property to true to prohibit automatic updates of column indices. In this instance, only manual modifications will be allowed.

Note

The FreezeColumnIndices property is not available for List View nodes that you have added or cloned at the current Application Model layer. Column indices in these nodes are never updated automatically.

When you set the FreezeColumnIndices property to true, Model Editor copies the current values of column indices to the model differences. As a result, any changes from lower layers are overridden. When you revert the FreezeColumnIndices back to false, the Model Editor resets differences - all current indices customizations are removed.

See Also