New to Telerik UI for WinFormsStart a free 30-day trial

Marked zones collection

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
public class ChartMarkedZonesCollection : ChartingStateManagedCollection<ChartMarkedZone>, IChartingStateManager, IList, ICollection, IEnumerable

Inheritance: objectChartingStateManagedCollection<ChartMarkedZone>ChartMarkedZonesCollection

Implements: IChartingStateManagerICollectionIEnumerableIList

Inherited Members ChartingStateManagedCollection<ChartMarkedZone>.IndexOf(ChartMarkedZone)ChartingStateManagedCollection<ChartMarkedZone>.AddRange(ChartMarkedZone[])ChartingStateManagedCollection<ChartMarkedZone>.Contains(ChartMarkedZone)ChartingStateManagedCollection<ChartMarkedZone>.CopyTo(ChartMarkedZone[], int)ChartingStateManagedCollection<ChartMarkedZone>.GetEnumerator()ChartingStateManagedCollection<ChartMarkedZone>.LoadViewState(object)ChartingStateManagedCollection<ChartMarkedZone>.SaveViewState()ChartingStateManagedCollection<ChartMarkedZone>.SetItemDirty(ChartMarkedZone)ChartingStateManagedCollection<ChartMarkedZone>.OnInsert(int, object)ChartingStateManagedCollection<ChartMarkedZone>.OnInsertComplete(int, object)ChartingStateManagedCollection<ChartMarkedZone>.OnRemove(int, object)ChartingStateManagedCollection<ChartMarkedZone>.OnRemoveComplete(int, object)ChartingStateManagedCollection<ChartMarkedZone>.OnClear()ChartingStateManagedCollection<ChartMarkedZone>.OnClearComplete()ChartingStateManagedCollection<ChartMarkedZone>.ListChartingStateManagedCollection<ChartMarkedZone>.CountChartingStateManagedCollection<ChartMarkedZone>.IsReadOnly...

Constructors

Create instance of class

C#
public ChartMarkedZonesCollection()

Create instance of class

C#
public ChartMarkedZonesCollection(ChartPlotArea parent)
Parameters:parentChartPlotArea

ChartPlotArea object as parent

Properties

Parent element

C#
[Browsable(false)]
public ChartPlotArea Parent { get; set; }

Gets or sets a GridMarker at the specific position in GridMarkers collection.

C#
[Browsable(false)]
public override ChartMarkedZone this[int index] { get; set; }
Parameters:indexint

Position in the collection

Property Value:

GridMarker at the specific position

Overrides: ChartingStateManagedCollection<ChartMarkedZone>.this[int]

Methods

Add MarkerZone in the collection

C#
public override void Add(ChartMarkedZone item)
Parameters:itemChartMarkedZone

GridMarker for adding

Overrides: ChartingStateManagedCollection<ChartMarkedZone>.Add(ChartMarkedZone)

Clear collection

C#
public void Clear()

Insert GridMarker in collection at the specific position

C#
public override void Insert(int index, ChartMarkedZone item)
Parameters:indexint

Position

itemChartMarkedZone

GridMarker

Overrides: ChartingStateManagedCollection<ChartMarkedZone>.Insert(int, ChartMarkedZone)

Remove GridMarker from collection

C#
public override bool Remove(ChartMarkedZone item)
Parameters:itemChartMarkedZone

GridMarker

Returns:

bool

Overrides: ChartingStateManagedCollection<ChartMarkedZone>.Remove(ChartMarkedZone)

Remove GridMarker in the specific position from collection

C#
public override void RemoveAt(int index)
Parameters:indexint

Position

Overrides: ChartingStateManagedCollection<ChartMarkedZone>.RemoveAt(int)