skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 SparkElementCollection

Inheritance
System.Object
System.Collections.ObjectModel.Collection<UISparkElement>
SparkElementCollection
Inherited Members
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Add(Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Clear()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.CopyTo(Telerik.WinControls.UI.UISparkElement[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Contains(Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.IndexOf(Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Insert(System.Int32, Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Remove(Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.SetItem(System.Int32, Telerik.WinControls.UI.UISparkElement)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Count
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Items
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.Generic.ICollection<Telerik.WinControls.UI.UISparkElement>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.System.Collections.IList.IsFixedSize
System.Object.ToString()
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.WinControls.UI.Sparkline
Assembly: Telerik.WinControls.UI.dll

Syntax

public class SparkElementCollection : Collection<UISparkElement>, IList<UISparkElement>, ICollection<UISparkElement>, IList, ICollection, IReadOnlyList<UISparkElement>, IReadOnlyCollection<UISparkElement>, IEnumerable<UISparkElement>, IEnumerable

Constructors

SparkElementCollection(UISparkElement)

Initializes a new instance of the SparkElementCollection class.

Declaration
public SparkElementCollection(UISparkElement owner)
Parameters
UISparkElement owner

The owner.

SparkElementCollection(UISparkElement, IList<UISparkElement>)

Initializes a new instance of the SparkElementCollection class.

Declaration
public SparkElementCollection(UISparkElement owner, IList<UISparkElement> list)
Parameters
UISparkElement owner

The owner.

System.Collections.Generic.IList<UISparkElement> list

The list.

Methods

AddRange(UISparkElement[])

Adds the range.

Declaration
public void AddRange(params UISparkElement[] items)
Parameters
UISparkElement[] items

ClearItems()

Removes all elements from the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.ClearItems()

InsertItem(Int32, UISparkElement)

Inserts the item.

Declaration
protected override void InsertItem(int index, UISparkElement item)
Parameters
System.Int32 index

The index.

UISparkElement item

The item.

Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.InsertItem(System.Int32, Telerik.WinControls.UI.UISparkElement)

RemoveItem(Int32)

Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32 index

The zero-based index of the element to remove.

Overrides
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.UISparkElement>.RemoveItem(System.Int32)
Exceptions
System.ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.Collection<T>.Count.

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.