You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/pager/customization.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,37 @@
1
1
---
2
2
layout: post
3
3
title: Customization in Blazor Pager Component | Syncfusion
4
-
description: Checkout here and learn about how to customize the elements of Syncfusion Blazor Pager componentand much more.
4
+
description: Learn how to customize the Syncfusion Blazor Pager component, including custom text and styling options.
5
5
platform: Blazor
6
6
control: Pager
7
7
documentation: ug
8
8
---
9
9
10
10
# Customization in Pager Component
11
11
12
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor Pager component provides options to customize its appearance and behavior. Customization can include modifying numeric item text and applying custom styles through CSS classes.
13
+
12
14
## Custom text for numeric items
13
15
14
-
The Pager component provides an option to define custom text and it is added as a prefix for numeric items. This can be achieved by using the [NumericItemPrefix](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SfPager.html#Syncfusion_Blazor_Navigations_SfPager_NumericItemPrefix) property.
16
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor Pager component allows adding a custom prefix to numeric itemsusing the [NumericItemPrefix](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SfPager.html#Syncfusion_Blazor_Navigations_SfPager_NumericItemPrefix) property. This property accepts a string value that appears before each numeric item in the pager.
TomodifythePager's appearance, you need to override the default CSS of the Pager. This can be achieved by using the [CssClass](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SfPager.html#Syncfusion_Blazor_Navigations_SfPager_CssClass) property.
32
+
## Apply custom CSS
30
33
31
-
Inthefollowingsample, thevalueforthe `CssClass` property is set as custom CSS, and this root class is used to customize the Pager appearance.
34
+
TheSyncfusion<supstyle="font-size:70%">®</sup>BlazorPagercomponentsupportscustomizingitsappearancebyapplyingcustomCSSclasses. Thiscustomizationisenabledthroughthe[CssClass](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Navigations.SfPager.html#Syncfusion_Blazor_Navigations_SfPager_CssClass) property. Assign a class name to this property and define the required styles in the CSS file.
0 commit comments