Class OlapPagingGrid
Interaction logic for OlapPagingGrid.xaml
Inheritance
Implements
Inherited Members
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 |
|
IsLast
Gets or sets a value indicating whether this instance is last.
Declaration
public bool IsLast { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
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
- Given page number should be less then total number of pages and greater then 0.
- If, Pagenumber is less then current page number, call move previous till the page.
- If, Pagenumber is greater then current page number, call move next till the page.
- If, Pagenumber is equal to current page number. Do nothing.