windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsbehavior-eb94a702.md
Gets or sets a value which specifies the Pivot Grid Control’s behavior when it is scrolled horizontally.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
[DefaultValue(PivotGridScrolling.CellsArea)]
[XtraSerializableProperty]
public PivotGridScrolling HorizontalScrolling { get; set; }
<DefaultValue(PivotGridScrolling.CellsArea)>
<XtraSerializableProperty>
Public Property HorizontalScrolling As PivotGridScrolling
| Type | Default | Description |
|---|---|---|
| PivotGridScrolling | CellsArea |
A PivotGridScrolling enumeration member which specifies the Pivot Grid Control’s behavior when it’s scrolled horizontally.
|
Available values:
| Name | Description |
|---|---|
| CellsArea |
Specifies that cells within the Data Area are scrolled when the control is scrolled horizontally. The filter fields and column fields are not moved.
| | Control |
Specifies that the filter fields and column fields are scrolled when the control is scrolled horizontally.
|
You can access this nested property as listed below:
| Object Type | Path to HorizontalScrolling |
|---|---|
| PivotGridControl |
.OptionsBehavior .HorizontalScrolling
|
If this property is set to the PivotGridScrolling.CellsArea value, the row field values are anchored to the grid’s edge and are not scrolled horizontally. In this case only cells within the Data Area are scrolled. If the HorizontalScrolling property is set to the PivotGridScrolling.Control value, the Pivot Grid Control’s entire view can be scrolled horizontally.
See Also
PivotGridOptionsBehavior Class