TableView.CheckBoxSelectorColumnVisibleIndex Property
Gets or sets the position index of the check box selector column. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v25.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Int32 | The position index of the check box selector column. |
Remarks
Use the CheckBoxSelectorColumnVisibleIndex property to place the check box selector column at the specified position index.
Conditions
The CheckBoxSelectorColumnVisibleIndex property takes effect when:
The CheckBoxSelectorColumnPosition property is set to None and the
CheckBoxSelectorColumnVisibleIndexproperty value equals or exceeds0. The index value refers to all visible columns (except for fixed groups):<dxg:GridControl ... SelectionMode="MultipleRow"> <dxg:GridControl.View> <dxg:TableView ShowCheckBoxSelectorColumn="True" CheckBoxSelectorColumnPosition="None" ShowCheckBoxSelectorInGroupRow="False" CheckBoxSelectorColumnVisibleIndex="3"/> </dxg:GridControl.View> </dxg:GridControl>The CheckBoxSelectorColumnPosition property is set to FixedLeft or FixedRight and the
CheckBoxSelectorColumnVisibleIndexproperty value equals or exceeds0. The index value refers to all columns within the corresponding fixed group:<dxg:GridControl ... SelectionMode="MultipleRow"> <dxg:GridControl.View> <dxg:TableView ShowCheckBoxSelectorColumn="True" ShowCheckBoxSelectorInGroupRow="False" CheckBoxSelectorColumnPosition="FixedRight" CheckBoxSelectorColumnVisibleIndex="2"/> </dxg:GridControl.View> </dxg:GridControl>
Limitations and Considerations
The CheckBoxSelectorColumnVisibleIndex property is ignored when:
The CheckBoxSelectorColumnPosition property is set to Left or Right.
The ShowCheckBoxSelectorInGroupRow property is set to
True.The
CheckBoxSelectorColumnVisibleIndexproperty value is negative.