Back to Devexpress

PivotGridOptionsView.FixedColumnLocation Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsview-b0c2a14e.md

latest2.0 KB
Original Source

PivotGridOptionsView.FixedColumnLocation Property

Gets or sets a pinned column’s location.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[DefaultValue(FixedColumnStyle.FixedLeft)]
public FixedColumnStyle FixedColumnLocation { get; set; }
vb
<DefaultValue(FixedColumnStyle.FixedLeft)>
Public Property FixedColumnLocation As FixedColumnStyle

Property Value

TypeDefaultDescription
FixedColumnStyleFixedLeft

A DevExpress.XtraPivotGrid.FixedColumnStyle object that specifies whether to pin columns to the left or the right edge.

|

Available values:

NameDescription
FixedLeft

Determines that columns are pinned to the left edge.

| | FixedRight |

Determines that columns are pinned to the right edge.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FixedColumnLocation
PivotGridControl

.OptionsView .FixedColumnLocation

|

Remarks

The following code snippet changed the pinned column’s location to right:

csharp
pivotGridControl1.OptionsView.FixedColumnLocation = FixedColumnStyle.FixedRight;

See Also

PivotGridOptionsView Class

PivotGridOptionsView Members

DevExpress.XtraPivotGrid Namespace