windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsview-b0c2a14e.md
Gets or sets a pinned column’s location.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
[DefaultValue(FixedColumnStyle.FixedLeft)]
public FixedColumnStyle FixedColumnLocation { get; set; }
<DefaultValue(FixedColumnStyle.FixedLeft)>
Public Property FixedColumnLocation As FixedColumnStyle
| Type | Default | Description |
|---|---|---|
| FixedColumnStyle | FixedLeft |
A DevExpress.XtraPivotGrid.FixedColumnStyle object that specifies whether to pin columns to the left or the right edge.
|
Available values:
| Name | Description |
|---|---|
| FixedLeft |
Determines that columns are pinned to the left edge.
| | FixedRight |
Determines that columns are pinned to the right edge.
|
You can access this nested property as listed below:
| Object Type | Path to FixedColumnLocation |
|---|---|
| PivotGridControl |
.OptionsView .FixedColumnLocation
|
The following code snippet changed the pinned column’s location to right:
pivotGridControl1.OptionsView.FixedColumnLocation = FixedColumnStyle.FixedRight;
See Also