Class PagedSettings
Specifies a set of features to support on the PagedCollection object. This class cannot be inherited.
Inheritance
Namespace: Cuemon.Collections.Generic
Assembly: Cuemon.Core.dll
Syntax
public sealed class PagedSettings
Constructors
| Improve this DocPagedSettings()
Initializes a new instance of the PagedSettings class.
Declaration
public PagedSettings()
Properties
| Improve this DocData
Gets a collection of DataPair elements that provide information about arbitrary data.
Declaration
public DataPairDictionary Data { get; }
Property Value
Type | Description |
---|---|
DataPairDictionary | The collection of DataPair elements that provide information about arbitrary data. |
DefaultPageSize
Gets or sets the default page size of the PagedSettings class. Default is 25.
Declaration
public static int DefaultPageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The default page size of the PagedSettings class. |
HasSearchCriteriaDefined
Gets a value indicating whether this instance was invoked with a search operation.
Declaration
public bool HasSearchCriteriaDefined { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HasSortOrderByDefined
Gets a value indicating whether this instance was invoked with a sorting operation.
Declaration
public bool HasSortOrderByDefined { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PageNumber
Gets or sets the one-based number of the page to iterate.
Declaration
public int PageNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The one-based number of the page to iterate. |
PageSize
Gets or sets the number of elements to display on a page.
Declaration
public int PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of elements to display on a page. |
SearchCriteria
Gets the search criteria of this instance.
Declaration
public string SearchCriteria { get; set; }
Property Value
Type | Description |
---|---|
System.String | The search criteria of this instance. |
SortOrderBy
Gets the order by sorting of this instance.
Declaration
public string SortOrderBy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The order by sorting of this instance. |
SortOrderDirection
Gets the direction of the order by sorting of this instance.
Declaration
public SortOrder SortOrderDirection { get; set; }
Property Value
Type | Description |
---|---|
SortOrder | The direction of the order by sorting of this instance. |
Methods
| Improve this DocGetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |