skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • 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

    AI Coding Assistants

    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
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.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

Implements
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Gets true if collection is read-only

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

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

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"

Implements
System.Collections.Generic.IList<T>.Item[System.Int32]

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

Implements
System.Collections.Generic.ICollection<T>.Add(T)

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()
Implements
System.Collections.Generic.ICollection<T>.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

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

CopyTo(T[], Int32)

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

System.Int32 arrayIndex

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

GetEnumerator()

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

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(T)

Item index in collection

Declaration
public int IndexOf(T item)
Parameters
T item

Item to get index of

Returns
System.Int32

Index

Implements
System.Collections.Generic.IList<T>.IndexOf(T)

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

Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)

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

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

RemoveAt(Int32)

Removes item from collection at given index

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

Index to remove at

Implements
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)

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

ICollection.CopyTo(Array, Int32)

Copies the entire ICollection to a compatible one-dimensional array, starting at the specified index of the target array.

Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.Array array

The one-dimensional System.Array that is the destination of the elements

System.Int32 index

Implements
System.Collections.ICollection.CopyTo(System.Array, System.Int32)

ICollection.Count

Gets the collection items count

Declaration
int ICollection.Count { get; }
Returns
System.Int32

Implements
System.Collections.ICollection.Count

ICollection.IsSynchronized

Checks is collection synchronized

Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean

Implements
System.Collections.ICollection.IsSynchronized

ICollection.SyncRoot

Gets the collection root

Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object

Implements
System.Collections.ICollection.SyncRoot

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection

Implements
System.Collections.IEnumerable.GetEnumerator()

IList.Add(Object)

Adds new item in the IList

Declaration
int IList.Add(object value)
Parameters
System.Object value

Item to add

Returns
System.Int32

Item index in IList

Implements
System.Collections.IList.Add(System.Object)

IList.Clear()

Clears IList items

Declaration
void IList.Clear()
Implements
System.Collections.IList.Clear()

IList.Contains(Object)

Checks does IList contain the given value

Declaration
bool IList.Contains(object value)
Parameters
System.Object value

Value to check

Returns
System.Boolean

True if contains

Implements
System.Collections.IList.Contains(System.Object)

IList.get_Item(Int32)

Declaration
object IList.get_Item(int index)
Parameters
System.Int32 index

Returns
System.Object

Implements
System.Collections.IList.get_Item(System.Int32)

IList.IndexOf(Object)

Gets the index of the object value in an IList

Declaration
int IList.IndexOf(object value)
Parameters
System.Object value

Value to check

Returns
System.Int32

Index in IList or -1 if IList does not contain given value

Implements
System.Collections.IList.IndexOf(System.Object)

IList.Insert(Int32, Object)

Inserts new value in IList at given index

Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32 index

Index to insert to

System.Object value

Value to insert

Implements
System.Collections.IList.Insert(System.Int32, System.Object)

IList.IsFixedSize

Is IList fixed size. Returns False

Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean

Implements
System.Collections.IList.IsFixedSize

IList.IsReadOnly

Is IList is read-only

Declaration
bool IList.IsReadOnly { get; }
Returns
System.Boolean

Implements
System.Collections.IList.IsReadOnly

IList.Item[Int32]

Gets or sets the value from/to IList at the give index

Declaration
object IList.this[] { get; set; }
Parameters
System.Int32 index

Index to give element at

Returns
System.Object

Value from IList

Implements
System.Collections.IList.Item[System.Int32]

IList.Remove(Object)

Removes value from IList

Declaration
void IList.Remove(object value)
Parameters
System.Object value

Value to remove

Implements
System.Collections.IList.Remove(System.Object)

IList.RemoveAt(Int32)

Removes value from IList at the given index

Declaration
void IList.RemoveAt(int index)
Parameters
System.Int32 index

Index to remove value at

Implements
System.Collections.IList.RemoveAt(System.Int32)

IList.set_Item(Int32, Object)

Declaration
void IList.set_Item(int index, object value)
Parameters
System.Int32 index

System.Object value

Implements
System.Collections.IList.set_Item(System.Int32, System.Object)

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()

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.RemoveLast<T>(IList<T>)
CommonExtensions.EnsureListCountAtLeast<T>(IList<T>, Int32, Func<T>)
CommonExtensions.EnsureListCount<T>(IList<T>, Int32, Func<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing 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.