Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / SelectionMode Property


In This Topic
    SelectionMode Property
    In This Topic
    Gets or sets the selection mode of the grid.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The selection mode of the grid.")>
    <CategoryAttribute("Behavior")>
    Public Property SelectionMode As SelectionMode
    'Usage
     
    Dim instance As GridControl
    Dim value As SelectionMode
     
    instance.SelectionMode = value
     
    value = instance.SelectionMode
    [Description("The selection mode of the grid.")]
    [Category("Behavior")]
    public SelectionMode SelectionMode {get; set;}

    Property Value

    One of the SelectionMode values.
    MultiExtended Multiple items can be selected, and the user can use the SHIFT, CTRL, and arrow keys to make selections.
    MultiSimple (default) Multiple items can be selected.
    None No items can be selected.
    One Only one item can be selected.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also