Skip to content

Commit c77d182

Browse files
Merge pull request #1064 from telerik/didi/fix-pager
address comments
2 parents 22a0541 + d9660ca commit c77d182

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

controls/collectionview/paging.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ Here is a list of the most important features of the DataPager control:
2222
* Setting different [Ellipsis modes]({%slug datapager-ellipsis-mode%})—The ellipsis appears when the count of the page numbers is greater than the count of the numeric buttons.
2323
* Setting different [Display modes]({%slug datapager-display-mode%})—You can decide which of the visual elements in the DataPager will be visible.
2424
* [Configuring the pages]({%slug datapager-page-configuration%}) by using the following properties:
25-
* `PageIndex`—Sets the current page.
26-
* `PageSize` and `PageSizes`.
27-
* `ItemsSpacing`—Sets the spacing between the items in the pager.
25+
* `PageIndex` (`int`)—Sets the current page.
26+
* `PageSize` (`int`)—Specifies the number of the items per page. The default value is `10`.
27+
* `PageSizes` (`IList<int>`)&mdash;Specifies a list with page sizes the end user can choose from. The default values in the list are `5, 10, 20, 50`.
28+
* `ItemsSpacing` (`double`)&mdash;Sets the spacing between the items in the pager.
2829

2930
* Customizing the appearance of the DataPager by styling its elements:
3031
* [DataPager]({%slug datapager-styling%})
@@ -36,7 +37,7 @@ Here is a list of the most important features of the DataPager control:
3637

3738
Here is an example of how to use the DataPager with the CollectionView control.
3839

39-
**1.** Define the DataPager and the DataPager in XAML:
40+
**1.** Define the DataPager and the CollectionView in XAML:
4041

4142
<snippet id='radcollectionview-datapager' />
4243

controls/datagrid/paging.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ Here is a list of the most important features of the DataPager control:
2222
* Setting different [Ellipsis modes]({%slug datapager-ellipsis-mode%})&mdash;The ellipsis appears when the count of the page numbers is greater than the count of the numeric buttons.
2323
* Setting different [Display modes]({%slug datapager-display-mode%})&mdash;You can decide which of the visual elements in the DataPager will be visible.
2424
* [Configuring the pages]({%slug datapager-page-configuration%}) by using the following properties:
25-
* `PageIndex`&mdash;Sets the current page.
26-
* `PageSize` and `PageSizes`.
27-
* `ItemsSpacing`&mdash;Sets the spacing between the items in the pager.
25+
* `PageIndex` (`int`)&mdash;Sets the current page.
26+
* `PageSize` (`int`)&mdash;Specifies the number of the items per page. The default value is `10`.
27+
* `PageSizes` (`IList<int>`)&mdash;Specifies a list with page sizes the end user can choose from. The default values in the list are `5, 10, 20, 50`.
28+
* `ItemsSpacing` (`double`)&mdash;Sets the spacing between the items in the pager.
2829

2930
* Customizing the appearance of the DataPager by styling its elements:
3031
* [DataPager]({%slug datapager-styling%})
@@ -36,7 +37,7 @@ Here is a list of the most important features of the DataPager control:
3637

3738
Here is an example of how to use the DataPager with the DataGrid control.
3839

39-
**1.** Define the DataPager and the DataPager in XAML:
40+
**1.** Define the DataPager and the DataGrid in XAML:
4041

4142
<snippet id='datagrid-datapager' />
4243

controls/datapager/integration/collectionview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: datapager-collectionview
88

99
# .NET MAUI DataPager Integration with CollectionView
1010

11-
You can page the data of the [Telerik UI for .NET MAUI CollectionView]({%slug collectionview-overview%}) and [Microsoft .NET MAUI CollectionView](https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/collectionview/?view=net-maui-9.0) by using the DataPager control. However, the DataPager is independent of the CollectionView, and you can use it with any other `ItemsControl`.
11+
You can page the data of the [Telerik UI for .NET MAUI CollectionView]({%slug collectionview-overview%}) and [Microsoft .NET MAUI CollectionView](https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/collectionview/?view=net-maui-9.0) by using the DataPager control.
1212

1313
![.NET MAUI DataPager with CollectionView](../images/datapager-collectionview-paging.png)
1414

@@ -18,7 +18,7 @@ You can page the data of the [Telerik UI for .NET MAUI CollectionView]({%slug co
1818

1919
Here is an example of how to use the DataPager with the CollectionView control.
2020

21-
**1.** Define the DataPager and the DataPager in XAML:
21+
**1.** Define the DataPager and the CollectionView in XAML:
2222

2323
<snippet id='radcollectionview-datapager' />
2424

controls/datapager/integration/datagrid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: datapager-datagrid
88

99
# .NET MAUI DataPager Integration with DataGrid
1010

11-
You can page the data of the [Telerik UI for .NET MAUI DataGrid]({%slug datagrid-overview%}) by using the DataPager control. However, the DataPager is independent of the DataGrid, and you can use it with any other `ItemsControl`.
11+
You can page the data of the [Telerik UI for .NET MAUI DataGrid]({%slug datagrid-overview%}) by using the DataPager control.
1212

1313
![.NET MAUI DataPager with DataGrid](../images/datapager-datagrid-paging.png)
1414

@@ -18,7 +18,7 @@ You can page the data of the [Telerik UI for .NET MAUI DataGrid]({%slug datagrid
1818

1919
Here is an example of how to use the DataPager with the DataGrid control.
2020

21-
**1.** Define the DataPager and the DataPager in XAML:
21+
**1.** Define the DataPager and the DataGrid in XAML:
2222

2323
<snippet id='datagrid-datapager' />
2424

0 commit comments

Comments
 (0)