Skip to content

Commit e72c89f

Browse files
niels9001jwmsft
andauthored
[Develop/Data and Files] (#6331)
* Improvements and replacements * Fix formatting * Fixes * Update pickers-save-file.md * Correct clipboard link case sensitivity * Fix formatting in SQL Server database guide * replace language tabs with dev_langs * replace language tabs with dev_langs --------- Co-authored-by: Jim Walker <[email protected]>
1 parent 19cb4d1 commit e72c89f

13 files changed

Lines changed: 86 additions & 87 deletions

hub/apps/develop/communication/copy-and-paste.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ ms.localizationpriority: medium
1010

1111
# Copy and paste
1212

13-
Copy and paste is a fundamental way for users to exchange data between apps or within an app. This article shows you how to implement copy and paste in WinUI and Universal Windows Platform (UWP) apps using the clipboard APIs. You'll learn how to copy, cut, and paste data, track clipboard changes, and use the [DataPackage](/uwp/api/Windows.ApplicationModel.DataTransfer.DataPackage) class to handle different data formats.
13+
Copy and paste is a fundamental way for users to exchange data between apps or within an app. This article shows you how to implement copy and paste in WinUI apps using the clipboard APIs. You'll learn how to copy, cut, and paste data, track clipboard changes, and use the [DataPackage](/uwp/api/Windows.ApplicationModel.DataTransfer.DataPackage) class to handle different data formats.
1414

1515
> [!NOTE]
1616
> You can also use these APIs in other desktop apps through Windows Runtime (WinRT) APIs. For more information, see [Call Windows Runtime APIs in desktop apps](/windows/apps/desktop/modernize/desktop-to-uwp-enhance).
1717
18-
For complete code examples that demonstrate different copy and paste scenarios, see the [UWP clipboard sample on GitHub](https://github.com/microsoft/Windows-universal-samples/tree/master/Samples/Clipboard).
18+
> [!div class="nextstepaction"]
19+
> [Open the WinUI Gallery app and see Clipboard samples](winui3gallery://item/Clipboard)
1920
2021
## Check for built-in clipboard support
2122

hub/apps/develop/data-access/cosmos-db-data-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use a Cosmos DB database from a Windows app
2+
title: "Tutorial: Use a Cosmos DB database from a Windows app"
33
description: Learn how to connect your Windows app to a Cosmos DB database and test the connection programmatically.
44
ms.date: 08/01/2024
55
ms.topic: how-to
@@ -8,7 +8,7 @@ ms.localizationpriority: medium
88
#customer intent: As a Windows developer, I want to learn how to connect my Windows app to a Cosmos DB database so that I can store and retrieve data in the cloud.
99
---
1010

11-
# Use a Cosmos DB database from a Windows app
11+
# Tutorial: Use a Cosmos DB database from a Windows app
1212

1313
This article contains the steps required to enable working with a Cosmos DB database from a Windows app. It also contains a small code snippet showing how you can interact with the database in code.
1414

hub/apps/develop/data-access/mongodb-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use a MongoDB database in a Windows app
2+
title: "Tutorial: Use a MongoDB database in a Windows app"
33
description: Learn how to connect your Windows app directly to a MongoDB database and test the connection programmatically.
44
ms.date: 08/01/2024
55
ms.topic: how-to
@@ -8,7 +8,7 @@ ms.localizationpriority: medium
88
#customer intent: As a Windows developer, I want to learn how to connect my Windows app directly to a MongoDB database so that I can store and retrieve data.
99
---
1010

11-
# Use a MongoDB database in a Windows app
11+
# Tutorial: Use a MongoDB database in a Windows app
1212

1313
This article contains the steps required to enable working with a MongoDB database from a Windows app. It also contains a small code snippet showing how you can interact with the database in code.
1414

hub/apps/develop/data-access/mysql-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use a MySQL database in a Windows app
2+
title: "Tutorial: Use a MySQL database in a Windows app"
33
description: Learn how to connect to a MySQL database from your Windows app, and test your connection using sample code.
44
ms.date: 01/23/2025
55
ms.custom: copilot-scenario-highlight
@@ -9,7 +9,7 @@ ms.localizationpriority: medium
99
#customer intent: As a Windows developer, I want to learn how to connect to a MySQL database from my Windows app so that I can store and retrieve data.
1010
---
1111

12-
# Use a MySQL database in a Windows app
12+
# Tutorial: Use a MySQL database in a Windows app
1313

1414
This article contains the steps required to enable working with a MySQL database from a Windows app. It also contains a small code snippet showing how you can interact with the database in code.
1515

hub/apps/develop/data-access/sql-server-database.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use a SQL Server database in a Windows app
2+
title: "Tutorial: Use a SQL Server database in a Windows app"
33
description: Learn how to connect a Windows App SDK app directly to a SQL Server database, and store and retrieve data by using System.Data.SqlClient.
44
ms.date: 10/15/2024
55
ms.topic: how-to
@@ -8,13 +8,13 @@ ms.localizationpriority: medium
88
#customer intent: As a Windows developer, I want to learn how to connect my Windows App SDK app directly to a SQL Server database so that I can store and retrieve data.
99
---
1010

11-
# Use a SQL Server database in a Windows app
11+
# Tutorial: Use a SQL Server database in a Windows app
1212

1313
Your app can connect directly to a SQL Server database and then store and retrieve data by using classes in the [System.Data.SqlClient](/dotnet/api/system.data.sqlclient) namespace.
1414

1515
## Getting started
1616

17-
In this guide, we'll show you one way to do that in your Windows App SDK apps. If you install the [Northwind](/dotnet/framework/data/adonet/sql/linq/downloading-sample-databases) sample database onto your SQL Server instance, and then use these snippets, you'll end up with a basic UI that shows products from the Northwind sample database.
17+
In this guide, we'll show you one way to do that in apps that use the Windows App SDK. If you install the [Northwind](/dotnet/framework/data/adonet/sql/linq/downloading-sample-databases) sample database onto your SQL Server instance, and then use these snippets, you'll end up with a basic UI that shows products from the Northwind sample database.
1818

1919
![Northwind products](images/products-northwind.png)
2020

hub/apps/develop/data-access/sqlite-data-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Use a SQLite database in a Windows app
2+
title: "Tutorial: Use a SQLite database in a Windows app"
33
description: Learn how to use a SQLite database in a Windows app to store and retrieve data in a lightweight database on the user's device.
44
ms.date: 09/25/2025
55
ms.topic: how-to
@@ -9,7 +9,7 @@ ms.custom: copilot-scenario-highlight
99
#customer intent: As a Windows developer, I want to learn how to use a SQLite database in a Windows app to store and retrieve data in a lightweight database on the user's device.
1010
---
1111

12-
# Use a SQLite database in a Windows app
12+
# Tutorial: Use a SQLite database in a Windows app
1313

1414
[SQLite](https://sqlite.org/index.html) provides a reliable, lightweight database solution for storing data locally in Windows apps. Unlike traditional database systems that require separate server installations and complex configurations, SQLite runs entirely within your application process and stores data in a single file on the user's device.
1515

hub/apps/develop/data-binding/bind-to-hierarchical-data-and-create-a-master-details-view.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.assetid: 6c563dd4-3dd0-4175-a1ab-7a1103fc9559
3-
title: Bind hierarchical data and create a master/details view with WinUI
3+
title: "Tutorial: Bind hierarchical data and create a master/details view with WinUI"
44
description: Create a multi-level master/details view of hierarchical data in WinUI by binding items controls to CollectionViewSource instances. Learn how to implement this structure.
55
ms.date: 11/11/2025
66
ms.topic: how-to
@@ -9,7 +9,7 @@ ms.localizationpriority: medium
99
# customer intent: As a Windows developer, I want to learn how to bind hierarchical data and create a master/details view with WinUI.
1010
---
1111

12-
# Bind hierarchical data and create a master/details view with WinUI 3
12+
# Tutorial: Bind hierarchical data and create a master/details view"
1313

1414
Learn how to create a multilevel master/details view of hierarchical data in WinUI by binding items controls to [CollectionViewSource](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.data.collectionviewsource) instances. This article explains how to use the [{x:Bind} markup extension](/windows/apps/develop/platform/xaml/x-bind-markup-extension) for better performance and the [{Binding} markup extension](/windows/apps/develop/platform/xaml/binding-markup-extension) when flexibility is needed.
1515

@@ -19,8 +19,8 @@ You create a view of a sports team hierarchy that's organized into lists for lea
1919

2020
:::image type="content" source="images/xaml-masterdetails.png" alt-text="Screenshot of a master/details view of a sports hierarchy. The view includes leagues, divisions, and teams.":::
2121

22-
> [!TIP]
23-
> Also see the [Master/detail UWP sample](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlMasterDetail).
22+
> [!div class="nextstepaction"]
23+
> [Open the WinUI Gallery app and learn about Binding](winui3gallery://item/Binding)
2424
2525
## Prerequisites
2626

hub/apps/develop/data-binding/data-binding-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
ms.assetid: 02a08657-285d-4804-a006-168c22aa4904
3-
title: Windows Data Binding Overview for Developers
3+
title: "Tutorial: Data Binding basics"
44
description: Learn how to bind controls to data in WinUI apps. Discover how to bind single items or collections, implement details views, and format data for display.
55
ms.date: 11/11/2025
66
ms.topic: concept-article
@@ -11,7 +11,7 @@ dev_langs:
1111
# Customer intent: As a Windows developer, I want to learn how to bind a control to a single item or bind an item's control to a collection of items in a WinUI app.
1212
---
1313

14-
# Windows data binding overview
14+
# Tutorial: Basic data binding
1515

1616
Data binding in WinUI 3 apps lets you efficiently connect controls to data sources. Learn how to bind a control to a single item or a collection of items, control item rendering, implement details views, and format data for display. For more details, see [Data binding in depth](data-binding-in-depth.md).
1717

hub/apps/develop/data-binding/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.localizationpriority: medium
1313

1414
Data binding connects your app's user interface to its data, creating a dynamic relationship that keeps your UI responsive. In Windows apps, data binding establishes a clear separation between the data layer and presentation layer, improving code organization and making your app easier to maintain and test.
1515

16-
Windows apps support two primary data binding approaches: the [{x:Bind} markup extension](/windows/apps/develop/platform/xaml/x-bind-markup-extension) and the [{Binding} markup extension](/windows/apps/develop/platform/xaml/binding-markup-extension). You can use either approach individually or combine them within the same app. The `{x:Bind}` extension, available in Windows App SDK and UWP apps on Windows 10 and later, offers better performance and compile-time validation.
16+
Windows apps support two primary data binding approaches: the [{x:Bind} markup extension](/windows/apps/develop/platform/xaml/x-bind-markup-extension) and the [{Binding} markup extension](/windows/apps/develop/platform/xaml/binding-markup-extension). You can use either approach individually or combine them within the same app. The `{x:Bind}` extension, available in Windows App SDK apps, offers better performance and compile-time validation.
1717

1818
Whether you're displaying a single data item, binding to collections, or implementing complex architectural patterns like Model-View-ViewModel (MVVM), data binding provides the foundation for creating responsive, maintainable Windows applications.
1919

hub/apps/develop/data/drag-and-drop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The drag source, which is the application or area where the drag gesture is trig
1717

1818
During drag and drop, the drag UI provides a visual indication of the type of drag-and-drop operation that's taking place. This visual feedback is initially provided by the source but can be changed by the targets as the pointer moves over them.
1919

20-
Modern drag and drop is available on all devices that support UWP. It allows data transfer between or within any kind of application, including Classic Windows apps, although this article focuses on the XAML API for modern drag and drop. Once implemented, drag and drop works seamlessly in all directions, including app-to-app, app-to-desktop, and desktop-to app.
20+
Drag and drop allows data transfer between or within any kind of application, including Classic Windows apps, although this article focuses on the XAML API for modern drag and drop. Once implemented, drag and drop works seamlessly in all directions, including app-to-app, app-to-desktop, and desktop-to app.
2121

2222
Here's an overview of what you need to do to enable drag and drop in your app:
2323

0 commit comments

Comments
 (0)