menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MeasureElementCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MeasureElementCollection

    Represents the collection of measure elements.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    MeasureElementCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    ICloneable<MeasureElementCollection>
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Olap.Reports
    Assembly: Syncfusion.Olap.Base.dll
    Syntax
    public class MeasureElementCollection : CollectionBase, IList, ICollection, IEnumerable, ICloneable<MeasureElementCollection>

    Constructors

    MeasureElementCollection()

    Declaration
    public MeasureElementCollection()

    Properties

    Item[Int32]

    Gets or sets the MeasureElement at the specified index.

    Declaration
    public MeasureElement this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index of the measure element object.

    Property Value
    Type
    MeasureElement

    Methods

    Add(MeasureElement)

    Adds the specified measure element.

    Declaration
    public int Add(MeasureElement measureElement)
    Parameters
    Type Name Description
    MeasureElement measureElement

    The measure element which is to be added.

    Returns
    Type Description
    System.Int32

    The index of the measure element object in the current collection.

    Clone()

    Clones this instance.

    Declaration
    public MeasureElementCollection Clone()
    Returns
    Type Description
    MeasureElementCollection

    A copy of this instance.

    FindMeasureByName(String)

    Finds the measure element by its name.

    Declaration
    public MeasureElement FindMeasureByName(string measureName)
    Parameters
    Type Name Description
    System.String measureName

    The name of the measure.

    Returns
    Type Description
    MeasureElement

    true if the measure element is found; otherwise, false

    Insert(Int32, MeasureElement)

    Inserts the measure element at specified index.

    Declaration
    public void Insert(int index, MeasureElement measureElement)
    Parameters
    Type Name Description
    System.Int32 index

    The index at which the measure element has to be inserted.

    MeasureElement measureElement

    The measure element which is to be inserted.

    Remove(MeasureElement)

    Removes the specified measure element.

    Declaration
    public void Remove(MeasureElement measureElement)
    Parameters
    Type Name Description
    MeasureElement measureElement

    The measure element which is to be removed.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    ICloneable<T>

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    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 - 2025 Syncfusion Inc. All Rights Reserved