From 0a85adac11097d03f37050ba630d7ba54bfa274a Mon Sep 17 00:00:00 2001 From: Alvin Ashcraft Date: Thu, 30 May 2024 10:17:05 -0400 Subject: [PATCH 1/2] Update DataGrid page with correct links Remove links to see the control in action. Add links to WinUI 2 Control Gallery app and Windows Community Toolkit Gallery app. Add note about the DataGrid not being available in the latest Windows Community Toolkit. --- docs/controls/DataGrid.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/controls/DataGrid.md b/docs/controls/DataGrid.md index 6e9f3bdf8..e8fb9c109 100644 --- a/docs/controls/DataGrid.md +++ b/docs/controls/DataGrid.md @@ -11,15 +11,15 @@ The DataGrid control provides a flexible way to display a collection of data in ![DataGrid control](../resources/images/Controls/DataGrid/DataGrid.gif) +> [!NOTE] +> The DataGrid control is not part of the WinUI 3 controls available in the Windows Community Toolkit version 8.0 and later yet. The control is available for UWP and Uno Platform apps in Windows Community Toolkit version 7.1.0. + The built-in column types include a text column, a check box column, a combobox column and a template column for hosting custom content. The built-in row type includes a drop-down details section that you can use to display additional content below the cell values. The DataGrid control supports common table formatting options, such as alternating row backgrounds and foregrounds and the ability to show or hide headers, grid lines, and scroll bars. Additionally, the control provides several style and template properties that you can use to completely change the appearance of the control and its rows, columns, cells, and row or column headers. The DataGrid has built-in support for Narrator and Touch Narrator to help blind users to navigate and interact easily with the control. Additionally, the control has built-in support for extensive keyboard navigation through cells, headers, rows and columns. -> [!div class="nextstepaction"] -> [Try it in the sample app](uwpct://Controls?sample=DataGrid) - ## How-Tos The following guidance sections describe the additional concepts and techniques that you can use to build DataGrid control features into your applications: @@ -35,13 +35,13 @@ The following guidance sections describe the additional concepts and techniques ## Sample Project -See the [DataGrid in action](uwpct://Controls?sample=DataGrid) from the **[Windows Community Toolkit Sample App](https://aka.ms/windowstoolkitapp)**. - Here's the [DataGrid sample source code](https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/rel/7.1.0/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/DataGrid). -If you have the **XAML Controls Gallery** app installed, [open the app and see the DataGrid in action](xamlcontrolsgallery:/item/DataGrid). +If you have the **WinUI 2 Gallery** app installed, you can use the app to see the DataGrid in action. + +* [Get the WinUI 2 Gallery app (Microsoft Store)](https://apps.microsoft.com/detail/9msvh128x2zt) -* [Get the XAML Controls Gallery app (Microsoft Store)](https://www.microsoft.com/store/productId/9MSVH128X2ZT) +See the other controls available in the **[Windows Community Toolkit Gallery app](https://apps.microsoft.com/detail/9nblggh4tlcq)**. ## Requirements From 2b7cf998c3a51aa0ea06a1db46739b6fa1b41d9d Mon Sep 17 00:00:00 2001 From: Alvin Ashcraft Date: Thu, 30 May 2024 10:26:53 -0400 Subject: [PATCH 2/2] Add link to gallery labs in browser --- docs/controls/DataGrid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/controls/DataGrid.md b/docs/controls/DataGrid.md index e8fb9c109..1a4adb52b 100644 --- a/docs/controls/DataGrid.md +++ b/docs/controls/DataGrid.md @@ -41,7 +41,7 @@ If you have the **WinUI 2 Gallery** app installed, you can use the app to see th * [Get the WinUI 2 Gallery app (Microsoft Store)](https://apps.microsoft.com/detail/9msvh128x2zt) -See the other controls available in the **[Windows Community Toolkit Gallery app](https://apps.microsoft.com/detail/9nblggh4tlcq)**. +See the other controls available in the **[Windows Community Toolkit Gallery app](https://apps.microsoft.com/detail/9nblggh4tlcq)** or try them with the gallery app [in your browser](https://toolkitlabs.dev/). ## Requirements