menu

WPF

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

    Show / Hide Table of Contents

    Class OlapPagingGrid

    Interaction logic for OlapPagingGrid.xaml

    Inheritance
    System.Object
    OlapPagingGrid
    Implements
    System.IDisposable
    Inherited Members
    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.Windows.Grid.Olap
    Assembly: Syncfusion.OlapGrid.WPF.dll
    Syntax
    public class OlapPagingGrid : IDisposable

    Constructors

    OlapPagingGrid()

    Initializes a new instance of the OlapPagingGrid class.

    Declaration
    public OlapPagingGrid()

    Properties

    CurrentPageNumber

    Gets or sets the current page number.

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

    The current page number.

    Grid

    Gets or sets the grid.

    Declaration
    public OlapGrid Grid { get; set; }
    Property Value
    Type Description
    OlapGrid

    The olap grid.

    HorizontalHeaderLength

    Gets or sets the length of the horizontal header.

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

    The length of the horizontal header.

    IsFirst

    Gets or sets a value indicating whether this instance is first.

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

    true if this instance is first; otherwise, false.

    IsLast

    Gets or sets a value indicating whether this instance is last.

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

    true if this instance is last; otherwise, false.

    PagingInfo

    Gets or sets the paging info.

    Declaration
    public PagingInfo PagingInfo { get; set; }
    Property Value
    Type Description
    PagingInfo

    The paging info.

    TotalPageNumbers

    Gets or sets the total page numbers.

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

    The total page numbers.

    VerticalHeaderLength

    Gets or sets the length of the vertical header.

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

    The length of the vertical header.

    Methods

    Dispose()

    This method is used to clear all the instances.

    Declaration
    public void Dispose()

    GeneratePagerGrid(Int32, NavigationMode)

    Generates the pager grid. Calculates grid range.

    Declaration
    public void GeneratePagerGrid(int navigationValue, NavigationMode navigationMode)
    Parameters
    Type Name Description
    System.Int32 navigationValue
    NavigationMode navigationMode

    GetIndices(Int32)

    Gets the indices.

    Declaration
    public Indices GetIndices(int pageNumber)
    Parameters
    Type Name Description
    System.Int32 pageNumber

    The page number.

    Returns
    Type Description
    Indices

    The Indices of the page containing starting row and ending row of the page.

    MoveNext()

    Moves the next.

    Declaration
    public void MoveNext()

    MovePrevious()

    Moves the previous.

    Declaration
    public void MovePrevious()

    MoveTo(Int32)

    Moves to specific page.

    Declaration
    public void MoveTo(int pageNumber)
    Parameters
    Type Name Description
    System.Int32 pageNumber

    The page number.

    Remarks
    1. Given page number should be less then total number of pages and greater then 0.
    2. If, Pagenumber is less then current page number, call move previous till the page.
    3. If, Pagenumber is greater then current page number, call move next till the page.
    4. If, Pagenumber is equal to current page number. Do nothing.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved