BootstrapPager.PageSizeItemSettings Property
Gets the Page Size Item element’s settings.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapPageSizeItemSettings PageSizeItemSettings { get; }
Property Value
Type | Description |
---|---|
BootstrapPageSizeItemSettings | A BootstrapPageSizeItemSettings object that contains settings. |
Remarks
Use the PageSizeItemSettings property to access and customize the settings that relate to page size item.
Example
This example demonstrates the basic functionality of the Pager control.
- Initialize a new instance of the BootstrapPager class.
- Specify the total number of Pager items using the ASPxPagerBase.ItemCount property.
- Assign the maximum number of numeric buttons that can be displayed within a pager to the ASPxPagerBase.NumericButtonCount property.
- Enable the BootstrapPageSizeItemSettings class’s Visible property to display the Page size box.
The image below shows the result:
<dx:BootstrapPager runat="server" NumericButtonCount="8" ItemCount="91">
<CssClasses PageNumber="d-none d-sm-block" Ellipsis="d-none d-sm-block" Summary="d-none d-xl-block" />
<PageSizeItemSettings Visible="True"></PageSizeItemSettings>
</dx:BootstrapPager>
See Also