Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.PivotGrid

#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