skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class ChartingStateManagedCollection<T>

Base class for all collections support view state tracking

Inheritance
System.Object
ChartingStateManagedCollection<T>
AxisSegmentCollection
ChartAxisItemsCollection
ChartLabelsCollection
ChartMarkedZonesCollection
ChartSeriesCollection
ChartSeriesItemsCollection
ColorBlend
CustomFiguresCollection
CustomPalettesCollection
PaletteItemsCollection
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll

Syntax

public abstract class ChartingStateManagedCollection<T> : IDeserializableCollection, IList<T>, ICollection<T>, IEnumerable<T>, IChartingStateManager, IList, ICollection, IEnumerable where T : class, IChartingStateManagedItem, new()
Type Parameters
T

Collection item type

Constructors

ChartingStateManagedCollection()

Declaration
protected ChartingStateManagedCollection()

Properties

Count

Gets items count in collection

Declaration
public int Count { get; }
Property Value
System.Int32

IsReadOnly

Gets true if collection is read-only

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

Item[Int32]

Gets the collection item at given index

Declaration
public virtual T this[int index] { get; set; }
Parameters
System.Int32 index

Index

Property Value
T

Item of type "T"

List

Items list

Declaration
protected IList<T> List { get; }
Property Value
System.Collections.Generic.IList<T>

Methods

Add(T)

Adds new item in collection

Declaration
public virtual void Add(T item)
Parameters
T item

Item to add

AddRange(T[])

Adds items range in collection

Declaration
public virtual void AddRange(T[] itemsToAdd)
Parameters
T[] itemsToAdd

Items array to add

Clear()

Clears collection

Declaration
public void Clear()

Contains(T)

Checks does collection contain the given item

Declaration
public virtual bool Contains(T item)
Parameters
T item

Item to check

Returns
System.Boolean

True if item is a collection member

CopyTo(T[], Int32)

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
T[] array

System.Int32 arrayIndex

GetEnumerator()

Declaration
public IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>

IndexOf(T)

Item index in collection

Declaration
public int IndexOf(T item)
Parameters
T item

Item to get index of

Returns
System.Int32

Index

Insert(Int32, T)

Inserts item at the given index

Declaration
public virtual void Insert(int index, T item)
Parameters
System.Int32 index

Index

T item

Item to insert

LoadViewState(Object)

Loads collection from view state

Declaration
protected virtual void LoadViewState(object state)
Parameters
System.Object state

View state to load from

OnClear()

Before collection clearing event

Declaration
protected virtual void OnClear()

OnClearComplete()

Collection after clean event

Declaration
protected virtual void OnClearComplete()

OnInsert(Int32, Object)

Item before insert event

Declaration
protected virtual void OnInsert(int index, object value)
Parameters
System.Int32 index

Index to insert at

System.Object value

Value to insert

OnInsertComplete(Int32, Object)

Item after insert event

Declaration
protected virtual void OnInsertComplete(int index, object value)
Parameters
System.Int32 index

Index to insert at

System.Object value

Value to insert

OnRemove(Int32, Object)

Item before remove event

Declaration
protected virtual void OnRemove(int index, object value)
Parameters
System.Int32 index

Index to insert at

System.Object value

Value to insert

OnRemoveComplete(Int32, Object)

Item after remove event

Declaration
protected virtual void OnRemoveComplete(int index, object value)
Parameters
System.Int32 index

Index to insert at

System.Object value

Value to insert

Remove(T)

Removes item from collection

Declaration
public virtual bool Remove(T item)
Parameters
T item

Item to remove

Returns
System.Boolean

True in case of success

RemoveAt(Int32)

Removes item from collection at given index

Declaration
public virtual void RemoveAt(int index)
Parameters
System.Int32 index

Index to remove at

SaveViewState()

Saves collection to a view state

Declaration
protected virtual object SaveViewState()
Returns
System.Object

Saved state bag object

SetItemDirty(T)

Marks collection item dirty

Declaration
protected virtual void SetItemDirty(T item)
Parameters
T item

Item to mark

ToString()

ToString() override. Used in the properties grid to avoid object type showing.

Declaration
public override string ToString()
Returns
System.String

Empty string

Overrides
System.Object.ToString()

Explicit Interface Implementations

IChartingStateManager.IsTrackingViewState

Gets the view state tracking status

Declaration
bool IChartingStateManager.IsTrackingViewState { get; }
Returns
System.Boolean

Implements
IChartingStateManager.IsTrackingViewState

IChartingStateManager.LoadViewState(Object)

Loads collection from view state

Declaration
void IChartingStateManager.LoadViewState(object state)
Parameters
System.Object state

View state to load from

Implements
IChartingStateManager.LoadViewState(Object)

IChartingStateManager.SaveViewState()

Saves collection to a view state

Declaration
object IChartingStateManager.SaveViewState()
Returns
System.Object

Saved state bag object

Implements
IChartingStateManager.SaveViewState()

IChartingStateManager.TrackViewState()

Tracks view state changes

Declaration
void IChartingStateManager.TrackViewState()
Implements
IChartingStateManager.TrackViewState()
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.