Class RangeList
Represents sorted list of ranges.
public class RangeList : SortList<IRange>, IReadOnlyList<IRange>, IReadOnlyCollection<IRange>, IList, ICollection, IRangeList, ISortList<IRange>, IList<IRange>, ICollection<IRange>, IEnumerable<IRange>, IEnumerable- Inheritance
- 
      
      
      
      RangeList
- Implements
- Extension Methods
Constructors
- RangeList()
- Initializes a new instance of the - RangeListclass with default settings.
Properties
- TopRange
- Represents top level range for this list. 
- UpdateCount
- Keeps track of calls to - BeginUpdateand- EndUpdateso that they can be nested.
Methods
- Add(IRange)
- Adds an object to the end of the range list. 
- BeginUpdate()
- Prevents range list updating until calling - EndUpdatemethod.
- BlockDeleting(Rectangle)
- Removes all ranges from specified region. 
- Clear()
- Removes all ranges from - RangeList.
- CopyFrom(IList<IRange>)
- Copies specified ranges to this - RangeList.
- EndUpdate()
- Re-enables range list updating, that was turn of by calling - BeginUpdatemethod.
- EndUpdate(bool)
- Re-enables range list updating, that was turn of by calling - BeginUpdatemethod.
- Equals(object?)
- Determines whether the specified - RangeListis equal to the current- RangeList.
- FindExactRange(Point)
- Locates range at specified position and verifies whether it starts at the given position. 
- FindExactRange(int)
- Locates range at specified line and verifies whether it starts at the given line. 
- FindInclusiveRange(int, bool)
- Locates range containing specific line. 
- FindRange(Point)
- Locates range at specified position. 
- FindRange(int)
- Locates range at specified line. 
- GetExactRanges(IList<IRange>, int)
- Fills list specified by Ranges parameter with all ranges that starts at the specified line. 
- GetHashCode()
- Serves as a hash function for a particular type. 
- GetRanges()
- Returns ranges collection in the from of IList. 
- GetRanges(IList<IRange>)
- Fills list specified by Ranges parameter with all existing ranges. 
- GetRanges(IList<IRange>, Point)
- Fills list specified by Ranges parameter with all ranges containing specific position. 
- GetRanges(IList<IRange>, Point, Point)
- Fills list specified by Ranges parameter with all ranges within specified range. 
- GetRanges(IList<IRange>, int)
- Fills list specified by Ranges parameter with all ranges in specified line. 
- Insert(int, IRange)
- Inserts a range into the range list at the specified index. 
- PositionChanged(int, int, int, int)
- Updates specified position by DeltaX and DeltaY values for any ranges in the collection. 
- RemoveAt(int)
- Removes the range at the specified index of the - RangeList.
- RemoveRange(Point)
- Removes all ranges containing specified position. 
- RemoveRange(int)
- Removes all containing specified line. 
- Sort()
- Sorts - RangeListcontent.
- Update()
- Updates - RangeListcontent.
- UpdatePosition(IRange, int, int, int, int)
- Updates specified position by DeltaX and DeltaY values for specific - IRange.