Table of Contents

Class SortRange

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

Represents a container for a sorted collection of IRange objects.

public class SortRange : Range, ISortRange, IRange, ICloneable
Inheritance
SortRange
Implements

Constructors

SortRange(IRange, int)

Initializes a new instance of the SortRange class with specified settings.

SortRange(int)

Initializes a new instance of the SortRange class with specified index.

Properties

EndPoint

Gets or sets end of ISortRange area.

Index

Represents index of this ISortRange within the top level ranges collection.

Range

Represents current IRange object in the ranges list.

Ranges

Represents collection of IRange objects stored in this range list.

StartPoint

Gets or sets begin of ISortRange area.

Methods

Add(ISortRange)

Adds specific ISortRange to range list.

Assign(IRange)

Copies contents from another IRange object.

BlockDeleting(Rectangle, IRangeList, IComparer<IRange>)

Removes all ranges from specified region.

Clear()

Clears IRange collection.

Clone()

Creates a new object that is a copy of the current ISortRange object.

Contains(IRange)

Indicates whether the range container contains a specific IRange entry.

GetRanges(IList<IRange>)

Fills list specified by Ranges parameter with this ISortRange.

PositionChanged(int, int, int, int, IRangeList, IComparer<IRange>)

Updates specified position by DeltaX and DeltaY values for any ranges in the collection.