src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/VirtualTreeSelection.cs
/// <summary>
///     Returns true iff the given index is selected.
/// </summary>
Returns true iff the given index is selected.
Returns true iff the given index is selected .
private bool IsSelected(int index)
        {
            CheckIndex(index);
            if (mySelectedRanges == null)
            {
                return false;
            }
            for (var i = 0; i < mySelectedRanges.Count; i++)
            {
                if (mySelectedRanges[i].Contains(index))
                {
                    return true;
                }
                if (mySelectedRanges[i].StartIndex > index)
                {
                    break;
                }
            }
            return false;
        }
private bool IsSelected ( int index ) { CheckIndex ( index ) ; if ( mySelectedRanges == null ) { return false ; } for ( var i = 0 ; i < mySelectedRanges . Count ; i ++ ) { if ( mySelectedRanges [ i ] . Contains ( index ) ) { return true ; } if ( mySelectedRanges [ i ] . StartIndex > index ) { break ; } } return false ; }
Returns true iff the given index is selected.
Returns true iff the given index is selected .
index
int