Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / SelectionMode Property


In This Topic
    SelectionMode Property (DataGridControl)
    In This Topic

    Gets or sets a value indicating how data items in the grid are selected.

    Syntax
    'Declaration
     
    Public Property SelectionMode As SelectionMode
    'Usage
     
    Dim instance As DataGridControl
    Dim value As SelectionMode
     
    instance.SelectionMode = value
     
    value = instance.SelectionMode
    public SelectionMode SelectionMode {get; set;}

    Property Value

    A SelectionMode value indicating how data items in the grid are selected. By default, SelectionMode.Extended.
    Remarks
    The data items contained by the selected DataRows will be added to the SelectedItems collection.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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