Class Selection
Implements
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class Selection : CurveList, IList<CurveItem>, ICollection<CurveItem>, IEnumerable<CurveItem>, IList, ICollection, IEnumerable, ICloneable
Fields
| Improve this Doc View SourceBorder
The Border type to be used for drawing "selected" PieItem, BarItem, HiLowBarItem, OHLCBarItem, and JapaneseCandleStickItem item types.
Declaration
public static Border Border
Field Value
Type | Description |
---|---|
Border |
Fill
The Fill type to be used for drawing "selected" PieItem, BarItem, HiLowBarItem, and JapaneseCandleStickItem item types.
Declaration
public static Fill Fill
Field Value
Type | Description |
---|---|
Fill |
Line
Declaration
public static Line Line
Field Value
Type | Description |
---|---|
Line |
Symbol
The Symbol type to be used for drawing "selected" LineItem and ErrorBarItem types.
Declaration
public static Symbol Symbol
Field Value
Type | Description |
---|---|
Symbol |
Methods
| Improve this Doc View SourceAddToSelection(MasterPane, CurveItem)
Add a CurveItem to the selection list.
Declaration
public void AddToSelection(MasterPane master, CurveItem ci)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that is the "owner" of the CurveItem's. |
CurveItem | ci | The CurveItem to be added to the list. |
AddToSelection(MasterPane, CurveList)
Add a list of CurveItem's to the selection list.
Declaration
public void AddToSelection(MasterPane master, CurveList ciList)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that is the "owner" of the CurveItem's. |
CurveList | ciList | The list of CurveItem's to be added to the list. |
ClearSelection(MasterPane)
Clear the selection list and trigger a SelectionChangedEvent.
Declaration
public void ClearSelection(MasterPane master)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that "owns" the selection list. |
ClearSelection(MasterPane, Boolean)
Clear the selection list and optionally trigger a SelectionChangedEvent.
Declaration
public void ClearSelection(MasterPane master, bool sendEvent)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that "owns" the selection list. |
Boolean | sendEvent | true to trigger a SelectionChangedEvent, false otherwise. |
RemoveFromSelection(MasterPane, CurveItem)
Remove the specified CurveItem from the selection list.
Declaration
public void RemoveFromSelection(MasterPane master, CurveItem ci)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that is the "owner" of the CurveItem's. |
CurveItem | ci | The CurveItem to be removed from the list. |
Select(MasterPane, CurveItem)
Place a CurveItem in the selection list, removing all other items.
Declaration
public void Select(MasterPane master, CurveItem ci)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that is the "owner" of the CurveItem's. |
CurveItem | ci | The CurveItem to be added to the list. |
Select(MasterPane, CurveList)
Place a list of CurveItem's in the selection list, removing all other items.
Declaration
public void Select(MasterPane master, CurveList ciList)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that is the "owner" of the CurveItem's. |
CurveList | ciList | The list of CurveItem to be added to the list. |
UpdateSelection(MasterPane)
Mark the CurveItem's that are included in the selection list by setting the IsSelected property to true.
Declaration
public void UpdateSelection(MasterPane master)
Parameters
Type | Name | Description |
---|---|---|
MasterPane | master | The MasterPane that "owns" the selection list. |
Events
| Improve this Doc View SourceSelectionChangedEvent
Subscribe to this event to receive notice that the list of selected CurveItems has changed
Declaration
public event EventHandler SelectionChangedEvent
Event Type
Type | Description |
---|---|
EventHandler |