Class MobilePageSettingsBuilder<T>
Inheritance
System.Object
MobilePageSettingsBuilder<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class MobilePageSettingsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
MobilePageSettingsBuilder(MobilePageSettings<T>)
Declaration
public MobilePageSettingsBuilder(MobilePageSettings<T> page)
Parameters
Type | Name | Description |
---|---|---|
MobilePageSettings<T> | page |
Methods
CurrentPage(Int32)
This is used to define which page to display currently.
Declaration
public MobilePageSettingsBuilder<T> CurrentPage(int currentPage)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | currentPage | The current page. |
Returns
Type | Description |
---|---|
MobilePageSettingsBuilder<T> | MobilePageSettingsBuilder{`0}. |
Display(PagerDisplay)
Used to define the pager position which can be fixed or normal.
Declaration
public MobilePageSettingsBuilder<T> Display(PagerDisplay display)
Parameters
Type | Name | Description |
---|---|---|
PagerDisplay | display | The display. |
Returns
Type | Description |
---|---|
MobilePageSettingsBuilder<T> | MobilePageSettingsBuilder{`0}. |
PageSize(Int32)
This is used to define the number of records displayed per page.
Declaration
public MobilePageSettingsBuilder<T> PageSize(int pageSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageSize | Size of the page. |
Returns
Type | Description |
---|---|
MobilePageSettingsBuilder<T> | MobilePageSettingsBuilder{`0}. |
TotalRecordsCount(Int32)
It holds the total records count available in the grid.
Declaration
public MobilePageSettingsBuilder<T> TotalRecordsCount(int totalRecordsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | totalRecordsCount | The total records count. |
Returns
Type | Description |
---|---|
MobilePageSettingsBuilder<T> | MobilePageSettingsBuilder{`0}. |
Type(PagerType)
Used to define the pager type which can be scrollable or normal.
Declaration
public MobilePageSettingsBuilder<T> Type(PagerType type)
Parameters
Type | Name | Description |
---|---|---|
PagerType | type | The type. |
Returns
Type | Description |
---|---|
MobilePageSettingsBuilder<T> | MobilePageSettingsBuilder{`0}. |