Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / ListBox Class / SelectedRanges Property


In This Topic
    SelectedRanges Property
    In This Topic
    Gets the ranges of items that are selected in a listbox.
    Syntax
    'Declaration
     
    Public ReadOnly Property SelectedRanges As IList(Of SelectionRange)
    'Usage
     
    Dim instance As ListBox
    Dim value As IList(Of SelectionRange)
     
    instance.SelectedRanges = value
     
    value = instance.SelectedRanges
    public IList<SelectionRange> SelectedRanges {get;}

    Property Value

    A generic IList of SelectionRange objects that represent the item that are selected in a listbox.
    Example
    For more information and examples on selecting data, refer to the Selecting Data topic.
    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