WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartIntervalCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartIntervalCollection

    Collection of ChartDateTimeInterval. Each ChartDateTimeRange object has an associated set of intervals that can be used to iterate over the range. ChartIntervalCollection is the repository for these intervals. Intervals

    Inheritance
    System.Object
    ChartIntervalCollection
    Implements
    System.Collections.IEnumerable
    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: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public sealed class ChartIntervalCollection : IEnumerable

    Constructors

    ChartIntervalCollection(ChartDateTimeRange)

    Initializes a new instance of the ChartIntervalCollection class.

    Declaration
    public ChartIntervalCollection(ChartDateTimeRange parent)
    Parameters
    Type Name Description
    ChartDateTimeRange parent

    Range that is to be associated with all ChartDateTimeInterval registered with this collection.

    Properties

    Item[String]

    Looks up the collection and returns the ChartDateTimeInterval with the specified name.

    Declaration
    public ChartDateTimeInterval this[string name] { get; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type Description
    ChartDateTimeInterval

    The registration name of the ChartDateTimeInterval to look for.

    Methods

    Clear()

    Removes all registered intervals including the default interval.

    Declaration
    public void Clear()

    Register(String, ChartDateTimeInterval)

    Registers an interval with this collection.

    Declaration
    public void Register(string name, ChartDateTimeInterval interval)
    Parameters
    Type Name Description
    System.String name

    The registration name of the ChartDateTimeInterval that is to be registered.

    ChartDateTimeInterval interval

    The interval that is to be registered.

    Remove(String)

    Looks up the collection and removes the ChartDateTimeInterval with the specified name.

    Declaration
    public void Remove(string name)
    Parameters
    Type Name Description
    System.String name

    The registration name of the ChartDateTimeInterval to look for.

    Reset()

    Removes all registered intervals except the default interval.

    Declaration
    public void Reset()

    ToString()

    Overridden. Returns a string representation of this collection.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

    Returns an enumerator that iterates through a collection.

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

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

    Implements

    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved