From 5cabc30ec57aba242ef27508e116c7f35a0f118a Mon Sep 17 00:00:00 2001 From: Swathi Date: Wed, 28 Feb 2024 18:58:29 +0530 Subject: [PATCH] ES-872871 Updated Page to Window in the XAML code of WINUI UG --- winui/DataGrid/Column-Types.md | 36 +++++++++++++++---------------- winui/DataGrid/Columns.md | 8 +++---- winui/DataGrid/FilterRow.md | 4 ++-- winui/DataGrid/Filtering.md | 12 +++++------ winui/DataGrid/Getting-Started.md | 22 +++++++++---------- winui/DataGrid/Grouping.md | 8 +++---- winui/DataGrid/Sorting.md | 4 ++-- winui/DataGrid/Summaries.md | 4 ++-- 8 files changed, 49 insertions(+), 49 deletions(-) diff --git a/winui/DataGrid/Column-Types.md b/winui/DataGrid/Column-Types.md index cf4400c4e..f7cb7483e 100644 --- a/winui/DataGrid/Column-Types.md +++ b/winui/DataGrid/Column-Types.md @@ -278,13 +278,13 @@ You can use the same [DataTemplate](https://docs.microsoft.com/en-us/windows/win {% tabs %} {% highlight xaml %} - + - + + - + + - + {% endhighlight %} {% endtabs %} @@ -572,9 +572,9 @@ Below code, sets the customized style selector to `GridColumn.CellStyleSelector` {% tabs %} {% highlight xaml %} - + - + + - + + - + {% endhighlight %} {% endtabs %} @@ -1329,9 +1329,9 @@ class StringToImageConverter : IValueConverter {% tabs %} {% highlight xaml %} - + - + + - + TextBlock does not have the MaxLength property. Therefore, you can use the co {% tabs %} {% highlight xaml %} - + - + + - + {% endhighlight %} {% endtabs %} @@ -869,9 +869,9 @@ Below code, binds the `ViewModel.AllowFiltering` property to `GridColumn.AllowFi {% tabs %} {% highlight xaml %} - + - + + xmlns:dataGridRowFilter="using:Syncfusion.UI.Xaml.DataGrid.RowFilter" - + {% endhighlight %} {% endtabs %} diff --git a/winui/DataGrid/Filtering.md b/winui/DataGrid/Filtering.md index 8ab55484a..c616a58b6 100644 --- a/winui/DataGrid/Filtering.md +++ b/winui/DataGrid/Filtering.md @@ -242,11 +242,11 @@ You can skip the `GridFilterControl` styling for particular column from `SfDataG {% tabs %} {% highlight xaml %} - + - + + - + {% endhighlight %} {% endtabs %} @@ -762,7 +762,7 @@ You can change the filter icon style by editing the [FilterToggleButton](https:/ xmlns:grid="using:Syncfusion.UI.Xaml.Grids" - + - + {% endhighlight %} {% endtabs %} diff --git a/winui/DataGrid/Getting-Started.md b/winui/DataGrid/Getting-Started.md index 802c984cf..f34e0fa0a 100644 --- a/winui/DataGrid/Getting-Started.md +++ b/winui/DataGrid/Getting-Started.md @@ -24,8 +24,8 @@ This section explains the steps required to add the DataGrid control and binding {% capture codesnippet1 %} {% tabs %} {% highlight xaml %} - - + {% endhighlight %} {% highlight c# %} @@ -45,11 +45,11 @@ using Syncfusion.UI.Xaml.DataGrid; namespace GettingStarted { /// - /// An empty page that can be used on its own or navigated to within a Frame. + /// An empty window that can be used on its own or navigated to within a Frame. /// - public sealed partial class MainPage : Page + public sealed partial class MainWindow : Window { - public MainPage() + public MainWindow() { this.InitializeComponent(); SfDataGrid sfDataGrid = new SfDataGrid(); @@ -177,8 +177,8 @@ Bind the collection created in previous step to `SfDataGrid.ItemsSource` propert {% tabs %} {% highlight xaml %} - - + - + - + {% endhighlight %} {% highlight c# %} diff --git a/winui/DataGrid/Grouping.md b/winui/DataGrid/Grouping.md index 766207747..848ccee58 100644 --- a/winui/DataGrid/Grouping.md +++ b/winui/DataGrid/Grouping.md @@ -130,9 +130,9 @@ In the below example, OrderID column displays value with one decimal digit in ce {% highlight xaml %} xmlns:core="using:Syncfusion.UI.Xaml.Core" - + - + - + + - + diff --git a/winui/DataGrid/Summaries.md b/winui/DataGrid/Summaries.md index 1451d1533..360c2e9d1 100644 --- a/winui/DataGrid/Summaries.md +++ b/winui/DataGrid/Summaries.md @@ -1176,9 +1176,9 @@ public static class LinqExtensions {% capture codesnippet2 %} {% tabs %} {% highlight xaml %} - + - +