windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-e0cee371.md
Gets or sets whether a View repaints only new portions of its surface when a user scrolls through Grid records.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowPartialRedrawOnScrolling { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowPartialRedrawOnScrolling As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the View is partially repainted during scrolling; false if the entire region of the View is repainted.
|
You can access this nested property as listed below:
| Object Type | Path to AllowPartialRedrawOnScrolling |
|---|---|
| GridView |
.OptionsBehavior .AllowPartialRedrawOnScrolling
|
To reduce the time required to repaint a View on scrolling, the Grid Control implements the partial redraw mechanism. This is invoked if the AllowPartialRedrawOnScrolling property is set to true. In this instance, the grid only repaints the new section of the View that appears on screen. The rest of the View’s graphic surface is simply shifted depending on the scroll direction.
If the AllowPartialRedrawOnScrolling property is set to false the entire View is repainted when a View is scrolled by a single column or row.
The partial redrawing mechanism is not used in the following instances:
See Also