From 90ee37e4d6ec7ddb42ebaf50b28bcdf326de1b1b Mon Sep 17 00:00:00 2001 From: Swathi Date: Mon, 26 Feb 2024 20:29:34 +0530 Subject: [PATCH] ES-872871 Modify the ReadMe file and Description in KB examples --- README.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 769a49b..73c763e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,62 @@ -# How to customize style of the scroll viewer in WPF DataGrid (SfDataGrid)? +# How to customize style of the scroll viewer in WPF DataGrid (SfDataGrid) + +## Customize style of the scroll viewer +You can customize the style of scroll viewer 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 property of ScrollViewer. -This example illustrates how to customize style of the scroll viewer in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). +## XAML: -You can customize the style of scroll viewer 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` property of `ScrollViewer`. +```XAML -KB article - [How to customize style of the scroll viewer in WPF DataGrid (SfDataGrid)?](https://www.syncfusion.com/kb/9768/how-to-customize-style-of-the-scroll-viewer-in-wpf-datagrid-sfdatagrid) + + + +``` + \ No newline at end of file