The requested page is not available for the requested platform. You are viewing the content for Default platform.

IModelListView.FreezeColumnIndices Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[ModelBrowsable(typeof(NotNewNodeVisibleCalculator))]
bool FreezeColumnIndices { get; set; }
<ModelBrowsable(GetType(NotNewNodeVisibleCalculator))>
Property FreezeColumnIndices As Boolean

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