Table of Contents

Interface IRangeList

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Represents a sorted collection of IRange objects that can be individually accessed by index.

public interface IRangeList : ISortList<IRange>, IList<IRange>, ICollection<IRange>, IEnumerable<IRange>, IEnumerable
Extension Methods

Methods

Add(IRange)

When implemented by a class, adds an object to the end of the range list.

BeginUpdate()

When implemented by a class, prevents object state updating until calling EndUpdate method.

BlockDeleting(Rectangle)

When implemented by a class, removes all ranges from specified region.

EndUpdate()

When implemented by a class, re-enables object state updating, that was turn of by calling BeginUpdate method.

FindRange(int)

When implemented by a class, locates range at specified line.

GetRanges(IList<IRange>)

When implemented by a class, fills list specified by Ranges parameter with all existing ranges.

PositionChanged(int, int, int, int)

When implemented by a class, updates specified position by DeltaX and DeltaY values for any ranges in the collection.

UpdatePosition(IRange, int, int, int, int)

When implemented by a class, updates specified position by DeltaX and DeltaY values for specific IRange.