'Declaration Public Property SelectionType As SelectionType
'Usage Dim instance As SelectionRange Dim value As SelectionType instance.SelectionType = value value = instance.SelectionType
public SelectionType SelectionType {get; set;}
'Declaration Public Property SelectionType As SelectionType
'Usage Dim instance As SelectionRange Dim value As SelectionType instance.SelectionType = value value = instance.SelectionType
public SelectionType SelectionType {get; set;}
Dim range As New SelectionRange( New SortDescription() { New SortDescription( "ShipCountry", ListSortDirection.Ascending ) }, Nothing, Nothing ) range.SelectionType = SelectionType.Unselection range.StartRangeInfos.Add( "ShipCountry", "Canada" ) range.EndRangeInfos.Add( "ShipCountry", "Canada" ) Me.sllbListBox.SelectedRanges.Add( range )
SelectionRange range = new SelectionRange( new SortDescription[] { new SortDescription( "ShipCountry", ListSortDirection.Ascending ) }, null, null ); range.SelectionType = SelectionType.Unselection; range.StartRangeInfos.Add( "ShipCountry", "Canada" ); range.EndRangeInfos.Add( "ShipCountry", "Canada" ); this.sllbListBox.SelectedRanges.Add( range );
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