diff --git a/wpf/DataPager/Appearance.md b/wpf/DataPager/Appearance.md index c87d2843c..227faee86 100644 --- a/wpf/DataPager/Appearance.md +++ b/wpf/DataPager/Appearance.md @@ -99,7 +99,7 @@ AccentBrush properties are used to decorate the SfDataPager control with a solid * NumericButtonStyle – Property that is applied to the Style of Numeric Button. This is the Style type property. By default, it set to Null. -The following code example explains how to apply the AccentBackground and AccentForeground properties for the SfDataPager control. +The following code example explains how to apply the AccentBackground and AccentForeground properties for the control. {% tabs %} {% highlight xaml %} @@ -124,7 +124,7 @@ The following screenshot displays the output for AccentBackground and AccentFore  -The following code example explains how to use NumericButtonStyle in SfDataPager. +The following code example explains how to use NumericButtonStyle in the control. {% tabs %} {% highlight xaml %} diff --git a/wpf/DataPager/DataBinding.md b/wpf/DataPager/DataBinding.md index 7a8b00f51..82548dc4e 100644 --- a/wpf/DataPager/DataBinding.md +++ b/wpf/DataPager/DataBinding.md @@ -10,11 +10,11 @@ documentation: ug # DataBinding in WPF SfDataPager -Data binding is the master feature of SfDataPager. SfDataPager is bound to an external data source to display the data. +Data binding is the master feature of SfDataPager. It is bound to an external data source to display the data. ## Source and PagedSource -SfDataPager exposes the Source property, where you can pass your collection of data for Paging. SfDataPager automatically wrap the collection in the PagedCollectionView and exposes to the PagedSource property. You can pass the PagedSource property to any ItemsControl’s ItemsSource property. +SfDataPager exposes the Source property, where you can pass your collection of data for Paging. The control automatically wraps the collection in the PagedCollectionView and exposes to the PagedSource property. You can pass the PagedSource property to any ItemsControl’s ItemsSource property. The following code example explains how to use the Source and PagedSource property. @@ -45,7 +45,7 @@ The following screenshot displays the output of the above code.  -SfDataPager exposes the PageIndex property. It contains the index of the currently selected page.You can use this property to set or get the current page of the SfDataPager. +SfDataPager exposes the PageIndex property. It contains the index of the currently selected page. You can use this property to set or get the current page of the control. Events @@ -119,7 +119,7 @@ The following screenshot displays the output for ListView binded with PagedColle ## On DemandPaging -In normal paging, the entire data collection is initially loaded into the SfDataPager control. However, the SfDataPager control allows you to load the data for the current page dynamically. To enable on demand paging, set UseOnDemandPaging to true.__ +In normal paging, the entire data collection is initially loaded into the control. However, the control allows you to load the data for the current page dynamically. To enable on demand paging, set UseOnDemandPaging to true.__ OnDemandPaging can be achieved by using the OnDemandLoading event and LoadDynamicItems method. @@ -135,7 +135,7 @@ N> In OnDemandPaging, you cannot assign a value for the Source property. The following steps help you to achieve an OnDemandLoading with the SfDataPager control. 1. Set the UseOnDemandPaging property to true. -2. Set the PageCount value for the SfDataPager control. +2. Set the PageCount value for the control. {% capture codesnippet1 %} {% tabs %} @@ -164,7 +164,7 @@ The following steps help you to achieve an OnDemandLoading with the SfDataPager {{ codesnippet1 | OrderList_Indent_Level_1 }} -3. Wire up the OnDemandLoading event of SfDataPager. +3. Wire up the OnDemandLoading event of the control. {% capture codesnippet2 %} {% tabs %} @@ -188,7 +188,7 @@ The following screenshot displays the output for OnDemandPaging, SfDataPager splits the data into separate pages based on the PageSize. In order to specify the size of the page, you can use the PageSize property. By defaults, it is set to 0 and all the data is displayed in a single page. -The following code example explains how to use PageSize property in SfDataPager. +The following code example explains how to use PageSize property in the control. {% tabs %} {% highlight xaml %} diff --git a/wpf/DataPager/Getting-Started.md b/wpf/DataPager/Getting-Started.md index 2fa51f725..66c6e4c1d 100644 --- a/wpf/DataPager/Getting-Started.md +++ b/wpf/DataPager/Getting-Started.md @@ -47,7 +47,7 @@ Covers an editors like CurrencyTextBox, PercentEdit, DateTimeEdit. The following screenshot describes the elements of the DataPager control. - + @@ -69,17 +69,17 @@ The following steps help you to use the SfDataPager in an application: -  +  -3. When you drag the SfDataPager to the window, it automatically adds the required references to the current application.To add the SfDataPager using code, you can add the following assemblies to the project. +3. When you drag the control to the window, it automatically adds the required references to the current application.To add it using code, you can add the following assemblies to the project. *Syncfusion.Data.WPF *Syncfusion.SfGrid.WPF -4. You can either drag the control from Visual Studio or Expression Blend, or add the control to your project manually. You need to add the namespace to make use of SfDataPager in your application. +4. You can either drag the control from Visual Studio or Expression Blend, or add the control to your project manually. You need to add the namespace to make use of it in your application. {% capture codesnippet1 %} {% tabs %} @@ -199,7 +199,7 @@ public class ViewModel {% endcapture %} {{ codesnippet3 | OrderList_Indent_Level_1 }} -7. Set the ViewModel instance as DataContext to window. Now, you can bind the data collection to the SfDataPagerSource property. +7. Set the ViewModel instance as DataContext to window. Now, you can bind the data collection to the Source property. {% capture codesnippet4 %} {% tabs %} @@ -220,7 +220,7 @@ public class ViewModel {% endcapture %} {{ codesnippet4 | OrderList_Indent_Level_1 }} -8. Then bind the PagedSource property of the SfDataPager control into the SfDataGridItemsSource property. +8. Then bind the PagedSource property of the control into the SfDataGridItemsSource property. {% capture codesnippet5 %} {% tabs %} @@ -249,16 +249,16 @@ public class ViewModel The following screenshot displays the output for Implementation of the SfDataPager in the SfDataGrid Control. - + ## Theme -SfDataPager supports various built-in themes. Refer to the below links to apply themes for the SfDataPager, +SfDataPager supports various built-in themes. Refer to the below links to apply themes for it, * [Apply theme using SfSkinManager](https://help.syncfusion.com/wpf/themes/skin-manager) * [Create a custom theme using ThemeStudio](https://help.syncfusion.com/wpf/themes/theme-studio#creating-custom-theme) -  +  diff --git a/wpf/DataPager/Overview.md b/wpf/DataPager/Overview.md index 5a534e4c6..1199be98f 100644 --- a/wpf/DataPager/Overview.md +++ b/wpf/DataPager/Overview.md @@ -9,11 +9,11 @@ documentation: ug # About Syncfusion® WPF SfDataPager Control -The SfDataPager control provides a configurable user interface for paging using a data collection. You can bind the SfDataPager to any [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.ienumerable?redirectedfrom=MSDN&view=net-5.0). The SfDataPager control wraps the collection internally in `PagedCollectionView` and exposes by using [SfDataPager.PagedSource](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Controls.DataPager.SfDataPager.html#Syncfusion_UI_Xaml_Controls_DataPager_SfDataPager_PagedSource) property. `PagedCollectionView` helps to provide the paging functionality. You can apply paging for data bound control by setting `PagedSource` property as ItemsSource for that control. +The SfDataPager provides a configurable user interface for paging using a data collection. You can bind it to any [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.ienumerable?redirectedfrom=MSDN&view=net-5.0). The control wraps the collection internally in `PagedCollectionView` and exposes by using [SfDataPager.PagedSource](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Controls.DataPager.SfDataPager.html#Syncfusion_UI_Xaml_Controls_DataPager_SfDataPager_PagedSource) property. `PagedCollectionView` helps to provide the paging functionality. You can apply paging for data bound control by setting `PagedSource` property as ItemsSource for that control. The following screenshot displays the basic concept of paging. - + diff --git a/wpf/DataPager/PageNavigation.md b/wpf/DataPager/PageNavigation.md index 991d0251b..7f2e363ea 100644 --- a/wpf/DataPager/PageNavigation.md +++ b/wpf/DataPager/PageNavigation.md @@ -11,7 +11,7 @@ documentation: ug SfDataPager allows you to move from the current Page to various Pages.For example, when you want to move the CurrentPage to the last page directly, you can use the method MoveToLastPage() . When this method is called, the current page moves to the last page. -SfDataPager provides the following methods for page navigations. +The control provides the following methods for page navigations.
| SfDataPager supports QTP test. You can record the actions performed in the control by the corresponding method name with Syncfusion® namespace. To know more about QTP test, refer to the [link](http://help.syncfusion.com/wpf/sfdatagrid/ui-automation#quick-test-professional-qtp) -The following screenshot displays the QTP Test for SfDataPager +The following screenshot displays the QTP Test for the control.  |