menu

UWP

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

    Show / Hide Table of Contents

    Class Items

    Represents the collection of item objects.

    Inheritance
    System.Object
    Items
    Namespace: Syncfusion.Olap.UWP.Reports
    Assembly: Syncfusion.Olap.UWP.dll
    Syntax
    public class Items : Object

    Constructors

    Items()

    Initializes a new instance of the Items class.

    Declaration
    public Items()

    Items(List<Item>)

    Initializes a new instance of the Items class.

    Declaration
    public Items(List<Item> items)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Item> items

    The items.

    Properties

    Count

    Gets the count of items.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    The count of items.

    IsFilterOrSortOn

    Gets or sets a value indicating whether this instance is for filtering or sorting.

    Declaration
    public bool IsFilterOrSortOn { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is for filtering or sorting; otherwise, false.

    Item[Int32]

    Gets or sets the Item at the specified index.

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

    The index of the item object.

    Property Value
    Type
    Item

    List

    Gets or sets the list of items.

    Declaration
    public List<Item> List { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<Item>

    The list of items.

    SubSetElement

    Gets or sets the sub set element.

    Declaration
    public SubsetElement SubSetElement { get; set; }
    Property Value
    Type Description
    SubsetElement

    The sub set element.

    Methods

    Add(Element)

    Adds the specified element value.

    Declaration
    public void Add(Element elementValue)
    Parameters
    Type Name Description
    Element elementValue

    The element value to be added.

    Add(Element, Element)

    Adds the specified dimension element.

    Declaration
    public void Add(Element dimensionElement, Element excludedDimensionElement)
    Parameters
    Type Name Description
    Element dimensionElement

    The dimension element.

    Element excludedDimensionElement

    The excluded dimension element.

    Add(Item)

    Adds the specified item.

    Declaration
    public void Add(Item item)
    Parameters
    Type Name Description
    Item item

    The item to be added.

    AddRange(Items)

    Adds the elements of the specified collection to the end of theĀ System.Collections.Generic.List<>.

    Declaration
    public void AddRange(Items items)
    Parameters
    Type Name Description
    Items items

    The collection of items.

    AddRange(List<Item>)

    Adds the elements of the specified collection to the end of theĀ System.Collections.Generic.List<>.

    Declaration
    public void AddRange(List<Item> items)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Item> items

    The list of items.

    Clear()

    Clears this instance.

    Declaration
    public void Clear()

    Clone()

    Clones this instance.

    Declaration
    public Items Clone()
    Returns
    Type Description
    Items

    A copy of this instance.

    GetEnumerator()

    Gets the enumerator.

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

    Enumerated Item.

    Remove(Item)

    Removes the specified item.

    Declaration
    public void Remove(Item item)
    Parameters
    Type Name Description
    Item item

    The item object which is to be removed.

    RemoveAll(AxisPosition)

    Removes all.

    Declaration
    public void RemoveAll(AxisPosition axis)
    Parameters
    Type Name Description
    AxisPosition axis

    The axis.

    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.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved