ZedGraph LogoZedGraph Class Library Documentation
Selection Class
NamespacesZedGraphSelection
Declaration Syntax
C#Visual BasicVisual C++
public class Selection : CurveList
Public Class Selection _
	Inherits CurveList
public ref class Selection : public CurveList
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
SelectionSelectionNew()()
Add(T)
Adds an object to the end of the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
AddRange(IEnumerable<(Of <T>)>)
Adds the elements of the specified collection to the end of the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
AddToSelection(MasterPane, CurveItem)
Add a CurveItem to the selection list.

AddToSelection(MasterPane, CurveList)
Add a list of CurveItem's to the selection list.

AsReadOnly()()
Returns a read-only IList<(Of <T>)> wrapper for the current collection.
(Inherited from List<(Of <CurveItem>)>.)
Backward
Iterate backwards through the CurveList items.
(Inherited from CurveList.)
BinarySearch(Int32, Int32, T, IComparer<(Of <T>)>)
Searches a range of elements in the sorted List<(Of <T>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <CurveItem>)>.)
BinarySearch(T)
Searches the entire sorted List<(Of <T>)> for an element using the default comparer and returns the zero-based index of the element.
(Inherited from List<(Of <CurveItem>)>.)
BinarySearch(T, IComparer<(Of <T>)>)
Searches the entire sorted List<(Of <T>)> for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from List<(Of <CurveItem>)>.)
static memberBorder
The Border type to be used for drawing "selected" PieItem, BarItem, HiLowBarItem, OHLCBarItem, and JapaneseCandleStickItem item types.

Capacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from List<(Of <CurveItem>)>.)
Clear()()
Removes all elements from the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
ClearSelection(MasterPane)
Clear the selection list and trigger a SelectionChangedEvent.

ClearSelection(MasterPane, Boolean)
Clear the selection list and optionally trigger a SelectionChangedEvent.

Clone()()
Typesafe, deep-copy clone method.
(Inherited from CurveList.)
Contains(T)
Determines whether an element is in the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
ConvertAll<(Of <TOutput>)>(Converter<(Of <T, TOutput>)>)
Converts the elements in the current List<(Of <T>)> to another type, and returns a list containing the converted elements.
(Inherited from List<(Of <CurveItem>)>.)
CopyTo(array<T>[]())
Copies the entire List<(Of <T>)> to a compatible one-dimensional array, starting at the beginning of the target array.
(Inherited from List<(Of <CurveItem>)>.)
CopyTo(Int32, array<T>[](), Int32, Int32)
Copies a range of elements from the List<(Of <T>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <CurveItem>)>.)
CopyTo(array<T>[](), Int32)
Copies the entire List<(Of <T>)> to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from List<(Of <CurveItem>)>.)
Count
Gets the number of elements actually contained in the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
Draw(Graphics, GraphPane, Single)
Render all the CurveItem objects in the list to the specified Graphics device by calling the Draw(Graphics, GraphPane, Int32, Single) member function of each CurveItem object.
(Inherited from CurveList.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Exists(Predicate<(Of <T>)>)
Determines whether the List<(Of <T>)> contains elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <CurveItem>)>.)
static memberFill
The Fill type to be used for drawing "selected" PieItem, BarItem, HiLowBarItem, and JapaneseCandleStickItem item types.

Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Find(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
FindAll(Predicate<(Of <T>)>)
Retrieves the all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <CurveItem>)>.)
FindIndex(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
FindIndex(Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that extends from the specified index to the last element.
(Inherited from List<(Of <CurveItem>)>.)
FindIndex(Int32, Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <CurveItem>)>.)
FindLast(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
FindLastIndex(Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
FindLastIndex(Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that extends from the first element to the specified index.
(Inherited from List<(Of <CurveItem>)>.)
FindLastIndex(Int32, Int32, Predicate<(Of <T>)>)
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <CurveItem>)>.)
ForEach(Action<(Of <T>)>)
Performs the specified action on each element of the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
Forward
Iterate forward through the CurveList items.
(Inherited from CurveList.)
GetBarItemPos(GraphPane, BarItem)
Find the ordinal position of the specified BarItem within the CurveList. This position only counts types, ignoring all other types.
(Inherited from CurveList.)
GetEnumerator()()
Returns an enumerator that iterates through the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetRange(Boolean, Boolean, GraphPane)
Go through each CurveItem object in the collection, calling the GetRange(Double%, Double%, Double%, Double%, Boolean, Boolean, GraphPane) member to determine the minimum and maximum values in the Points list of data value pairs. If the curves include a stack bar, handle within the current GetRange method. In the event that no data are available, a default range of min=0.0 and max=1.0 are returned. If the Y axis has a valid data range and the Y2 axis not, then the Y2 range will be a duplicate of the Y range. Vice-versa for the Y2 axis having valid data when the Y axis does not. If any CurveItem in the list has a missing PointPairList, a new empty one will be generated.
(Inherited from CurveList.)
GetRange(Int32, Int32)
Creates a shallow copy of a range of elements in the source List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
HasData()()
Determine if there is any data in any of the CurveItem objects for this graph. This method does not verify valid data, it only checks to see if NPts > 0.
(Inherited from CurveList.)
IndexOf(String)
Return the zero-based position index of the CurveItem with the specified Label.
(Inherited from CurveList.)
IndexOf(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
IndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that extends from the specified index to the last element.
(Inherited from List<(Of <CurveItem>)>.)
IndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List<(Of <T>)> that starts at the specified index and contains the specified number of elements.
(Inherited from List<(Of <CurveItem>)>.)
IndexOfTag(String)
Return the zero-based position index of the CurveItem with the specified Tag.
(Inherited from CurveList.)
Insert(Int32, T)
Inserts an element into the List<(Of <T>)> at the specified index.
(Inherited from List<(Of <CurveItem>)>.)
InsertRange(Int32, IEnumerable<(Of <T>)>)
Inserts the elements of a collection into the List<(Of <T>)> at the specified index.
(Inherited from List<(Of <CurveItem>)>.)
IsPieOnly
Read only property that determines if all items in the CurveList are Pies.
(Inherited from CurveList.)
Item[([String])]
Indexer to access the specified CurveItem object by its Label string.
(Inherited from CurveList.)
Item[([Int32])]
Gets or sets the element at the specified index.
(Inherited from List<(Of <CurveItem>)>.)
LastIndexOf(T)
Searches for the specified object and returns the zero-based index of the last occurrence within the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
LastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that extends from the first element to the specified index.
(Inherited from List<(Of <CurveItem>)>.)
LastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List<(Of <T>)> that contains the specified number of elements and ends at the specified index.
(Inherited from List<(Of <CurveItem>)>.)
static memberLine
The Line type to be used for drawing "selected" LineItem and StickItem types

MaxPts
Read only value for the maximum number of points in any of the curves in the list.
(Inherited from CurveList.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Move(Int32, Int32)
Move the position of the object at the specified index to the new relative position in the list.
(Inherited from CurveList.)
NumBars
Read only property that returns the number of curves in the list that are of type Bar.
(Inherited from CurveList.)
NumPies
Read only property that returns the number of pie slices in the list (class type is PieItem ).
(Inherited from CurveList.)
Remove(T)
Removes the first occurrence of a specific object from the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
RemoveAll(Predicate<(Of <T>)>)
Removes the all the elements that match the conditions defined by the specified predicate.
(Inherited from List<(Of <CurveItem>)>.)
RemoveAt(Int32)
Removes the element at the specified index of the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
RemoveFromSelection(MasterPane, CurveItem)
Remove the specified CurveItem from the selection list.

RemoveRange(Int32, Int32)
Removes a range of elements from the List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
Reverse()()
Reverses the order of the elements in the entire List<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
Reverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from List<(Of <CurveItem>)>.)
Select(MasterPane, CurveItem)
Place a CurveItem in the selection list, removing all other items.

Select(MasterPane, CurveList)
Place a list of CurveItem's in the selection list, removing all other items.

SelectionChangedEvent
Subscribe to this event to receive notice that the list of selected CurveItems has changed

Sort(SortType, Int32)
Sorts the list according to the point values at the specified index and for the specified axis.
(Inherited from CurveList.)
Sort(IComparer<(Of <T>)>)
Sorts the elements in the entire List<(Of <T>)> using the specified comparer.
(Inherited from List<(Of <CurveItem>)>.)
Sort(Int32, Int32, IComparer<(Of <T>)>)
Sorts the elements in a range of elements in List<(Of <T>)> using the specified comparer.
(Inherited from List<(Of <CurveItem>)>.)
Sort(Comparison<(Of <T>)>)
Sorts the elements in the entire List<(Of <T>)> using the specified Comparison<(Of <T>)>.
(Inherited from List<(Of <CurveItem>)>.)
static memberSymbol
The Symbol type to be used for drawing "selected" LineItem and ErrorBarItem types.

ICollection<(Of <T>)>..::IsReadOnly (Inherited from List<(Of <CurveItem>)>.)
IEnumerable<(Of <T>)>..::GetEnumerator()() (Inherited from List<(Of <CurveItem>)>.)
ICollection..::CopyTo(Array, Int32) (Inherited from List<(Of <CurveItem>)>.)
ICollection..::IsSynchronized (Inherited from List<(Of <CurveItem>)>.)
ICollection..::SyncRoot (Inherited from List<(Of <CurveItem>)>.)
IEnumerable..::GetEnumerator()() (Inherited from List<(Of <CurveItem>)>.)
IList..::Add(Object) (Inherited from List<(Of <CurveItem>)>.)
IList..::Contains(Object) (Inherited from List<(Of <CurveItem>)>.)
IList..::IndexOf(Object) (Inherited from List<(Of <CurveItem>)>.)
IList..::Insert(Int32, Object) (Inherited from List<(Of <CurveItem>)>.)
IList..::IsFixedSize (Inherited from List<(Of <CurveItem>)>.)
IList..::IsReadOnly (Inherited from List<(Of <CurveItem>)>.)
IList..::Item[([Int32])] (Inherited from List<(Of <CurveItem>)>.)
IList..::Remove(Object) (Inherited from List<(Of <CurveItem>)>.)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()
(Inherited from CurveList.)
ToArray()()
Copies the elements of the List<(Of <T>)> to a new array.
(Inherited from List<(Of <CurveItem>)>.)
ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
TrimExcess()()
Sets the capacity to the actual number of elements in the List<(Of <T>)>, if that number is less than a threshold value.
(Inherited from List<(Of <CurveItem>)>.)
TrueForAll(Predicate<(Of <T>)>)
Determines whether every element in the List<(Of <T>)> matches the conditions defined by the specified predicate.
(Inherited from List<(Of <CurveItem>)>.)
UpdateSelection(MasterPane)
Mark the CurveItem's that are included in the selection list by setting the IsSelected property to true.

Remarks
Inheritance Hierarchy
Object
List<(Of <CurveItem>)>
 CurveList
  Selection

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621