menu

WPF

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

    Show / Hide Table of Contents

    Class MemberPropertyCollection

    A Collection of properties.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    MemberPropertyCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IEnumerable<MemberProperty>
    System.Collections.IEnumerable
    ICloneable<MemberPropertyCollection>
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    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.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 MemberPropertyCollection : CollectionBase, IList, ICollection, IEnumerable<MemberProperty>, IEnumerable, ICloneable<MemberPropertyCollection>

    Constructors

    MemberPropertyCollection()

    Declaration
    public MemberPropertyCollection()

    Properties

    Item[Int32]

    Gets or sets the MemberProperty at the specified index.

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

    The index of the member property object.

    Property Value
    Type
    MemberProperty

    Methods

    Add(MemberProperty)

    Adds the specified member property.

    Declaration
    public int Add(MemberProperty memberProperty)
    Parameters
    Type Name Description
    MemberProperty memberProperty

    The member property which is to be added.

    Returns
    Type Description
    System.Int32

    The index of the member property object in the current collection.

    Add(String, String)

    Adds the member property with the specified name.

    Declaration
    public int Add(string name, string uniqueName)
    Parameters
    Type Name Description
    System.String name

    The name of the member property.

    System.String uniqueName

    The unique name of the member property.

    Returns
    Type Description
    System.Int32

    The index of the member property at which it is added.

    Clone()

    Clones this instance.

    Declaration
    public MemberPropertyCollection Clone()
    Returns
    Type Description
    MemberPropertyCollection

    A copy of this instance.

    Contains(MemberProperty)

    Determines whether the collection contains specified member property.

    Declaration
    public bool Contains(MemberProperty property)
    Parameters
    Type Name Description
    MemberProperty property

    The member property object which is to be searched.

    Returns
    Type Description
    System.Boolean

    true if it contains the specified member property; otherwise, false.

    CopyTo(MemberProperty[], Int32)

    Copies to.

    Declaration
    public void CopyTo(MemberProperty[] propertyArray, int index)
    Parameters
    Type Name Description
    MemberProperty[] propertyArray

    The property array.

    System.Int32 index

    The index.

    FindByName(String)

    Finds the member property by its name.

    Declaration
    public MemberProperty FindByName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the property to be found.

    Returns
    Type Description
    MemberProperty

    The member property from the collection

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<MemberProperty> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<MemberProperty>

    A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection.

    IndexOf(MemberProperty)

    Gets the index of the specified member property.

    Declaration
    public int IndexOf(MemberProperty property)
    Parameters
    Type Name Description
    MemberProperty property

    The member property.

    Returns
    Type Description
    System.Int32

    The index of the member property in the collection.

    Insert(Int32, MemberProperty)

    Inserts the member property at specified index.

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

    The index at which the member property has to be inserted.

    MemberProperty property

    The member property which is to be inserted.

    Remove(MemberProperty)

    Removes the specified member property.

    Declaration
    public void Remove(MemberProperty property)
    Parameters
    Type Name Description
    MemberProperty property

    The member property which is to be removed.

    RemoveAt(Int32)

    Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the element to remove.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    index is less than zero. -or- index is equal to or greater than System.Collections.CollectionBase.Count.

    Implements

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

    Extension Methods

    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, Int32, Func<TElement, Object>[])
    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, IEnumerable<Func<TElement, Object>>)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    ChartExtensionUtils.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved