ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / SelectionMode Property

In This Topic
    SelectionMode Property (C1FlexPivotGrid)
    In This Topic
    Gets or sets the grid's selection behavior.
    Syntax
    'Declaration
     
    Public Property SelectionMode As SelectionModeEnum
    public SelectionModeEnum SelectionMode {get; set;}
    Remarks

    In most selection modes, you can obtain the current selection using the C1.Win.C1FlexGrid.C1FlexGridBase.Selection property.

    When C1.Win.C1FlexGrid.C1FlexGridBase.SelectionMode is set to C1.Win.C1FlexGrid.SelectionModeEnum.ListBox, however, the selection may consist of a non-continuous range of rows. In this case, you can check the selection state of individual rows using the C1.Win.C1FlexGrid.CellStyleCollection.Highlight property or obtain a collection of selected rows using the C1.Win.C1FlexGrid.RowCollection.Selected property.

    See Also