New to Telerik ReportingStart a free 30-day trial

Marked zones collection

Definition

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)