Back to Devexpress

PivotGridOptionsBehavior.HorizontalScrolling Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsbehavior-eb94a702.md

latest3.3 KB
Original Source

PivotGridOptionsBehavior.HorizontalScrolling Property

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

Declaration

csharp
[DefaultValue(PivotGridScrolling.CellsArea)]
[XtraSerializableProperty]
public PivotGridScrolling HorizontalScrolling { get; set; }
vb
<DefaultValue(PivotGridScrolling.CellsArea)>
<XtraSerializableProperty>
Public Property HorizontalScrolling As PivotGridScrolling

Property Value

TypeDefaultDescription
PivotGridScrollingCellsArea

A PivotGridScrolling enumeration member which specifies the Pivot Grid Control’s behavior when it’s scrolled horizontally.

|

Available values:

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to HorizontalScrolling
PivotGridControl

.OptionsBehavior .HorizontalScrolling

|

Remarks

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

PivotGridOptionsBehavior Members

DevExpress.XtraPivotGrid Namespace