Skip to content

Commit 552f98f

Browse files
revised/added links to WindowsAppSDK-Samples (#1771)
1 parent 79be5f1 commit 552f98f

10 files changed

+60
-20
lines changed

hub/apps/winui/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ WinUI 3 is the native UI platform component that ships with the [Windows App SDK
4646

4747
### Related links for WinUI 3
4848

49-
- [Stable release channel](../windows-app-sdk/stable-channel.md)
50-
- [WinUI 3 Controls Gallery sample app](https://github.com/microsoft/Xaml-Controls-Gallery/tree/winui3)
49+
- [Windows App SDK](../../windows-app-sdk/index.md)
50+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
51+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)
5152

5253
## Windows UI 2 Library
5354

hub/apps/winui/winui3-winui2-comparison.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ Both are under active development with updates released on a regular basis.
3030

3131
## See also
3232

33-
- [Build desktop Windows apps with the Windows App SDK](../windows-app-sdk/index.md)
34-
35-
- [Windows UI Library (WinUI)](index.md)
36-
37-
- [Windows UI Library 2](winui2/index.md)
38-
39-
- [Windows UI Library 3 - Project Reunion 0.5 (March 2021)](winui3/index.md)
33+
- [Windows App SDK](../../windows-app-sdk/index.md)
34+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
35+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/create-your-first-winui3-app.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ To create a WinUI 3 desktop app with C# and .NET 5:
5050

5151
6. At this point, Visual Studio generates two projects:
5252

53-
* **_Project name_ (Desktop)**: This project contains your app's code. The **App.xaml** file and **App.xaml.cs** code-behind file define an `Application` class that represents your app instance. The **MainWindow.xaml** file and **MainWindow.xaml.cs** code-behind file define a `MainWindow` class that represents the main window displayed by your app. These classes derive from types in the **Microsoft.UI.Xaml** namespace provided by WinUI.
53+
- **_Project name_ (Desktop)**: This project contains your app's code. The **App.xaml** file and **App.xaml.cs** code-behind file define an `Application` class that represents your app instance. The **MainWindow.xaml** file and **MainWindow.xaml.cs** code-behind file define a `MainWindow` class that represents the main window displayed by your app. These classes derive from types in the **Microsoft.UI.Xaml** namespace provided by WinUI.
5454

5555
![Screenshot of Visual Studio showing the Solution Explorer pane and the contents of the Main Windows X A M L dot C S file.](images/WinUI-csharp-appproject.png)
5656

57-
* **_Project name_ (Package)**: This is a [Windows Application Packaging Project](/windows/msix/desktop/desktop-to-uwp-packaging-dot-net) that is configured to build the app into an [MSIX package](/windows/msix/overview). This provides a modern deployment experience, the ability to integrate with Windows 10 and later features via package extensions, and much more. This project contains the [package manifest](/uwp/schemas/appxpackage/uapmanifestschema/schema-root) for your app, and it is the startup project for your solution by default.
57+
- **_Project name_ (Package)**: This is a [Windows Application Packaging Project](/windows/msix/desktop/desktop-to-uwp-packaging-dot-net) that is configured to build the app into an [MSIX package](/windows/msix/overview). This provides a modern deployment experience, the ability to integrate with Windows 10 and later features via package extensions, and much more. This project contains the [package manifest](/uwp/schemas/appxpackage/uapmanifestschema/schema-root) for your app, and it is the startup project for your solution by default.
5858

5959
![Screenshot of Visual Studio showing the Solution Explorer pane and the contents of the Package app x manifest file.](images/WinUI-csharp-packageproject.png)
6060

@@ -105,11 +105,11 @@ To create a WinUI 3 desktop app with C++:
105105

106106
6. At this point, Visual Studio generates two projects:
107107

108-
* **_Project name_ (Desktop)**: This project contains your app's code. The **App.xaml** and various **App** code files define an `Application` class that represents your app instance, and the **MainWindow.xaml** and various **MainWindow** code files define a `MainWindow` class that represents the main window displayed by your app. These classes derive from types in the **Microsoft.UI.Xaml** namespace provided by WinUI.
108+
- **_Project name_ (Desktop)**: This project contains your app's code. The **App.xaml** and various **App** code files define an `Application` class that represents your app instance, and the **MainWindow.xaml** and various **MainWindow** code files define a `MainWindow` class that represents the main window displayed by your app. These classes derive from types in the **Microsoft.UI.Xaml** namespace provided by WinUI.
109109

110110
![Screenshot of Visual Studio showing the Solution Explorer pane and the contents of the Main Windows X A M L file.](images/WinUI-csharp-appproject.png)
111111

112-
* **_Project name_ (Package)**: This is a [Windows Application Packaging Project](/windows/msix/desktop/desktop-to-uwp-packaging-dot-net) that is configured to build the app into an [MSIX package](/windows/msix/overview). This provides a modern deployment experience, the ability to integrate with Windows 10 and later features via package extensions, and much more. This project contains the [package manifest](/uwp/schemas/appxpackage/uapmanifestschema/schema-root) for your app, and it is the startup project for your solution by default.
112+
- **_Project name_ (Package)**: This is a [Windows Application Packaging Project](/windows/msix/desktop/desktop-to-uwp-packaging-dot-net) that is configured to build the app into an [MSIX package](/windows/msix/overview). This provides a modern deployment experience, the ability to integrate with Windows 10 and later features via package extensions, and much more. This project contains the [package manifest](/uwp/schemas/appxpackage/uapmanifestschema/schema-root) for your app, and it is the startup project for your solution by default.
113113

114114
![Another screenshot of Visual Studio showing the Solution Explorer pane and the contents of the Package app x manifest file.](images/WinUI-cpp-packageproject.png)
115115

@@ -211,4 +211,8 @@ To create a "WinUI 3 app in UWP" for C#:
211211

212212
:::image type="content" source="images/WinUI-and-UWP/vs2019-project-running.png" alt-text="Screenshot of the app running showing the Click Me button.":::
213213

214-
---
214+
## See also
215+
216+
- [Windows App SDK](../../windows-app-sdk/index.md)
217+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
218+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/desktop-winui3-app-with-basic-interop.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ The following code shows the MainWindow.xaml file from the initial template app,
111111

112112
In this topic we covered accessing the underlying window implementation (in this case Win32 and HWNDs) and using Win32 APIs along with the WinRT APIs. This demonstrates how you can use existing desktop application code when creating new WinUI 3 desktop apps.
113113

114+
For a more extensive sample, see the [AppWindow gallery sample](https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Windowing) in the [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples) GitHub repo.
115+
114116
## See also
115117

118+
- [Windows App SDK](../../windows-app-sdk/index.md)
116119
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
117-
- [Get started with the Windows App SDK](../../windows-app-sdk/get-started.md)
118-
- [Get started with WinUI 3 for desktop apps](get-started-winui3-for-desktop.md)
120+
- [Manage app windows](../../windows-app-sdk/windowing/windowing-overview.md)
121+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/release-notes/release-notes-08-preview.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,10 @@ After cloning, ensure that you switch to the **winui3** branch in your local Git
267267

268268
```
269269
git checkout winui3
270-
```
270+
```
271+
272+
## See also
273+
274+
- [Windows App SDK](../../windows-app-sdk/index.md)
275+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
276+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/release-notes/winui3-project-reunion-0.5-preview.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,10 @@ After cloning, ensure that you switch to the **winui3preview** branch in your lo
241241

242242
```
243243
git checkout winui3preview
244-
```
244+
```
245+
246+
## See also
247+
248+
- [Windows App SDK](../../windows-app-sdk/index.md)
249+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
250+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/release-notes/winui3-project-reunion-0.5.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,9 @@ After cloning, ensure that you switch to the **winui3** branch in your local Git
201201
```dos
202202
git checkout winui3
203203
```
204+
205+
## See also
206+
207+
- [Windows App SDK](../../windows-app-sdk/index.md)
208+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
209+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/winui-project-templates-in-visual-studio.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ The following item templates are available for use in a WinUI project. To access
4949
| Resource Dictionary (WinUI 3) | C# and C++ | Adds an empty, keyed collection of XAML resources. For more information, see [ResourceDictionary and XAML resource references](/windows/uwp/design/controls-and-patterns/resourcedictionary-and-xaml-resource-references). |
5050
| Resources File (WinUI 3) | C# and C++ | Adds a file for storing string and conditional resources for your app. You can use this item to help localize your app. For more info, see [Localize strings in your UI and app package manifest](/windows/uwp/app-resources/localize-strings-ui-manifest). |
5151
| User Control (WinUI 3) | C# and C++ | Adds a XAML file and code file for creating a user control that derives from the **Microsoft.UI.Xaml.Controls.UserControl** class in the WinUI library. Typically, a user control encapsulates related existing controls and provide its own logic.<p></p>For more information about user controls, see [Custom XAML Controls](/archive/msdn-magazine/2019/may/xaml-custom-xaml-controls). |
52+
53+
## See also
54+
55+
- [Windows App SDK](../../windows-app-sdk/index.md)
56+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
57+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/xaml-templated-controls-cppwinrt-winui-3.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,10 @@ After saving the new .idl file, the next step is to generate the Windows Runtime
219219

220220
Copy the stub files BgLabelControl.h and BgLabelControl.cpp from \BgLabelControlApp\BgLabelControlApp\Generated Files\sources\ into the project folder. In **Solution Explorer**, make sure Show All Files is toggled on. Right-click the stub files that you copied, and click **Include In Project**.
221221

222-
The compiler places a static_assert line at the top of BgLabelControl.h and BgLabelControl.cpp to prevent the generated files from being compiled. When implementing your control, you should remove these lines from the files you have placed in your project directory. For this walkthrough, you can just overwrite the entire contents of the files with the code provided above.
222+
The compiler places a static_assert line at the top of BgLabelControl.h and BgLabelControl.cpp to prevent the generated files from being compiled. When implementing your control, you should remove these lines from the files you have placed in your project directory. For this walkthrough, you can just overwrite the entire contents of the files with the code provided above.
223+
224+
## See also
225+
226+
- [Windows App SDK](../../windows-app-sdk/index.md)
227+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
228+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

hub/apps/winui/winui3/xaml-templated-controls-csharp-winui-3.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,10 @@ Open `MainPage.xaml`, which contains the XAML markup for our main UI page. Immed
119119

120120
Build and run the app and you will see the templated control, with the background color and label we specified.
121121

122-
![Templated control result](images/winui-templated-control-result.png)
122+
![Templated control result](images/winui-templated-control-result.png)
123+
124+
## See also
125+
126+
- [Windows App SDK](../../windows-app-sdk/index.md)
127+
- [Stable release channel for the Windows App SDK](../../windows-app-sdk/stable-channel.md)
128+
- [Windows App SDK Samples](https://github.com/microsoft/WindowsAppSDK-Samples)

0 commit comments

Comments
 (0)