Skip to content

Commit 5358d14

Browse files
Update README.md
1 parent f964c3b commit 5358d14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# How to customize style of the scroll viewer in WPF DataGrid (SfDataGrid)?
1+
# How to Customize Style of the ScrollViewer in WPF DataGrid?
22

3-
This example illustrates how to customize style of the `ScrollViewer` in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This example illustrates how to customize style of the **ScrollViewer** in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
44

5-
You can customize the style of `ScrollViewer` in which WPF DataGrid (`SfDataGrid`) is loaded. But while scrolling using mouse wheel, the header will also be scrolled with records. You can overcome this behavior by binding the [CanContentScroll](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer.cancontentscroll?view=netframework-4.7.2#System_Windows_Controls_ScrollViewer_CanContentScroll) property of [ScrollViewer](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer?view=netframework-4.7.2).
5+
You can customize the style of **ScrollViewer** in which DataGrid is loaded. But while scrolling using mouse wheel, the header will also be scrolled with records. You can overcome this behavior by binding the [CanContentScroll](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer.cancontentscroll?view=netframework-4.7.2#System_Windows_Controls_ScrollViewer_CanContentScroll) property of [ScrollViewer](https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.scrollviewer?view=netframework-4.7.2).
66

77
``` xml
88
<Window.Resources>
@@ -56,4 +56,4 @@ You can customize the style of `ScrollViewer` in which WPF DataGrid (`SfDataGrid
5656
</Setter>
5757
</Style>
5858
</Window.Resources>
59-
```
59+
```

0 commit comments

Comments
 (0)