Skip to main content

PivotGridOptionsBehavior.RepaintGridOnFocusedCellChanged Property

Gets or sets whether the grid control is repainted when focus is moved from one cell to another.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool RepaintGridOnFocusedCellChanged { get; set; }

Property Value

Type Default Description
Boolean true

true if the grid control is repainted when focus is moved from one cell to another; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RepaintGridOnFocusedCellChanged
PivotGridControl
.OptionsBehavior .RepaintGridOnFocusedCellChanged

Remarks

By default, the grid is repainted when moving focus from one cell to another. This allows cells to be updated according to the currently focused cell. If changing cell focus slows down the performance of your PivotGrid control, consider disabling the RepaintGridOnFocusedCellChanged option. When this option is disabled, only the previously and currently focused cells are repainted on changing focus.

The PivotGridControl.LayoutChanged method allows you to update the grid control manually, if required.

See Also