menu

UWP

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

    Show / Hide Table of Contents

    Class ItemSizeHelper

    Class used for optimized row height evaluation.

    Inheritance
    System.Object
    ItemSizeHelper
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public class ItemSizeHelper : Object

    Constructors

    ItemSizeHelper(ItemSizeHelper.SizeGetter)

    Initializes new instance of the class.

    Declaration
    public ItemSizeHelper(ItemSizeHelper.SizeGetter sizeGetter)
    Parameters
    Type Name Description
    ItemSizeHelper.SizeGetter sizeGetter

    Delegate used to get size of the items.

    Methods

    GetSize(Int32)

    Evaluates size of the specified item.

    Declaration
    public float GetSize(int itemIndex)
    Parameters
    Type Name Description
    System.Int32 itemIndex

    Item's index.

    Returns
    Type Description
    System.Single

    Size of the specified item.

    GetTotal(Int32)

    Returns height of all rows starting from the first one and finishing specified row.

    Declaration
    public float GetTotal(int rowIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    One-based row index.

    Returns
    Type Description
    System.Single

    Sum of height of all rows till rowIndex (included).

    GetTotal(Int32, Int32)

    Gets size starting from rowStart and ending rowEnd (both included).

    Declaration
    public float GetTotal(int rowStart, int rowEnd)
    Parameters
    Type Name Description
    System.Int32 rowStart

    Index of the first item to measure.

    System.Int32 rowEnd

    Index of the last item to measure.

    Returns
    Type Description
    System.Single

    Total size starting from rowStart and ending rowEnd (both included).

    Extension Methods

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