You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/api-reference/cs-interop-apis/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ keywords: windows 10, windows 11, Windows App SDK, desktop development, winui, a
7
7
ms.localizationpriority: low
8
8
---
9
9
10
-
# Interop C# APIs for WinUI
10
+
# Interop C# APIs for WinUI 3
11
11
12
12
As a C# desktop application developer, in .NET you can make use of C# interop classes whose methods wrap and represent several interoperability functions. These include methods of C# classes representing the [GetWindowIdFromWindow](/windows/windows-app-sdk/api/win32/microsoft.ui.interop/nf-microsoft-ui-interop-getwindowidfromwindow) function, for example.
> The **WinUI Gallery** app includes interactive examples of most WinUI controls, features, and functionality. Get the app from the [Microsoft Store](https://apps.microsoft.com/detail/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
159
+
> The **WinUI 3 Gallery** app includes interactive examples of most WinUI controls, features, and functionality. Get the app from the [Microsoft Store](https://apps.microsoft.com/detail/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery)
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/high-contrast-themes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,9 +158,9 @@ Here are some recommendations for customizing the contrast theme colors in your
158
158
-**Do not** use `SystemColorHotlightColor` and corresponding brush as both are reserved for hyperlinks.
159
159
160
160
> [!TIP]
161
-
> It's often helpful to look at the WinUI Gallery app to see how common controls use the **SystemColor** brushes. If installed already, open them by clicking the following links: [**WinUI Gallery**](winui3gallery:) or [**WinUI for UWP Gallery**](winui2gallery:).
161
+
> It's often helpful to look at the WinUI 3 Gallery app to see how common controls use the **SystemColor** brushes. If installed already, open them by clicking the following links: [**WinUI 3 Gallery**](winui3gallery:) or [**WinUI for UWP Gallery**](winui2gallery:).
162
162
>
163
-
> If they are not installed, you can download the [**WinUI Gallery**](https://apps.microsoft.com/detail/9P3JFPWWDZRC) and the [**WinUI for UWP Gallery**](https://apps.microsoft.com/detail/9MSVH128X2ZT) from the Microsoft Store.
163
+
> If they are not installed, you can download the [**WinUI 3 Gallery**](https://apps.microsoft.com/detail/9P3JFPWWDZRC) and the [**WinUI for UWP Gallery**](https://apps.microsoft.com/detail/9MSVH128X2ZT) from the Microsoft Store.
164
164
>
165
165
> You can also get the source code for both from [GitHub](https://github.com/Microsoft/WinUI-Gallery) (use the *main* branch for WinUI and the *winui2* branch for WinUI for UWP).
166
166
@@ -250,7 +250,7 @@ The following code snippet (from an App.xaml file) shows an example [**ThemeDict
250
250
## Examples
251
251
252
252
> [!div class="nextstepaction"]
253
-
> [Open the WinUI Gallery app and see color contrast accessibility support in action](winui3gallery://item/AccessibilityColorContrast)
253
+
> [Open the WinUI 3 Gallery app and see color contrast accessibility support in action](winui3gallery://item/AccessibilityColorContrast)
Copy file name to clipboardExpand all lines: hub/apps/design/downloads/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,13 @@ The Windows Design Kit is a Figma library that includes:
36
36
> [!div class="button"]
37
37
> [Windows UI Kit for Figma](https://aka.ms/WinUI/3.0-figma-toolkit)
38
38
39
-
## WinUI Gallery
40
-
The Design Guidance section of the WinUI Gallery offers best practices and tools to help you choose and apply the right colors, typography, and icons for your app. The Accessibility section includes code snippets and tips to make your app more inclusive and accessible to all users.
39
+
## WinUI 3 Gallery
40
+
The Design Guidance section of the WinUI 3 Gallery offers best practices and tools to help you choose and apply the right colors, typography, and icons for your app. The Accessibility section includes code snippets and tips to make your app more inclusive and accessible to all users.
41
41
42
-
:::image type="content" source="images/winui-gallery.png" alt-text="A screenshot of the Design Guidance section of the WinUI Gallery":::
42
+
:::image type="content" source="images/winui-gallery.png" alt-text="A screenshot of the Design Guidance section of the WinUI 3 Gallery":::
43
43
44
44
> [!div class="button"]
45
-
> [Design Guidance in WinUI Gallery](winui3gallery://item/Color)
45
+
> [Design Guidance in WinUI 3 Gallery](winui3gallery://item/Color)
Copy file name to clipboardExpand all lines: hub/apps/design/layout/attached-layouts.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ For this reason, a Panel in XAML has often been synonymous with layout, but tech
52
52
The [ItemsRepeater](../controls/items-repeater.md) also behaves like Panel, but, unlike Panel, it does not expose a Children property that would allow programmatically adding or removing UIElement children. Instead, the lifetime of its children are automatically managed by the framework to correspond to a collection of data items. Although it is not derived from Panel, it behaves and is treated by the framework like a Panel.
53
53
54
54
> [!NOTE]
55
-
> The [LayoutPanel](/uwp/api/microsoft.ui.xaml.controls.layoutpanel) is a container, derived from Panel, that delegates its logic to the attached [Layout](/uwp/api/microsoft.ui.xaml.controls.layoutpanel.layout) object. LayoutPanel is in *Preview* and is currently available only in the *Prerelease* drops of the WinUI package.
55
+
> The [LayoutPanel](/uwp/api/microsoft.ui.xaml.controls.layoutpanel) is a container, derived from Panel, that delegates its logic to the attached [Layout](/uwp/api/microsoft.ui.xaml.controls.layoutpanel.layout) object. LayoutPanel is in *Preview* and is currently available only in the *Prerelease* drops of the WinUI 3 package.
56
56
57
57
#### Containers
58
58
@@ -292,7 +292,7 @@ The UI for the Xbox Activity Feed uses a repeating pattern where each line has a
292
292
The code below walks through what a custom virtualizing UI for the activity feed might be to illustrate the general approach you might take for a **data layout**.
293
293
294
294
> [!TIP]
295
-
> If you have the **WinUI Gallery** app installed, click here to [open the app and see the ItemsRepeater in action](winui3gallery:/item/ItemsRepeater). Get the app from the [Microsoft Store](https://apps.microsoft.com/detail/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery).
295
+
> If you have the **WinUI 3 Gallery** app installed, click here to [open the app and see the ItemsRepeater in action](winui3gallery:/item/ItemsRepeater). Get the app from the [Microsoft Store](https://apps.microsoft.com/detail/9P3JFPWWDZRC) or get the source code on [GitHub](https://github.com/microsoft/WinUI-Gallery).
WinUI provides a set of standard animation durations that are used throughout the platform controls. You can use these named resources when building custom Storyboard animations as well.
25
+
WinUI 3 provides a set of standard animation durations that are used throughout the platform controls. You can use these named resources when building custom Storyboard animations as well.
Copy file name to clipboardExpand all lines: hub/apps/design/shell/tiles-and-notifications/secondary-tiles-desktop-pinning.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.localizationpriority: medium
11
11
12
12
# Pin secondary tiles from desktop apps
13
13
14
-
A desktop app such as a WinUI app (using the Windows App SDK), or a Windows Presentation Foundation (WPF) or Windows Forms (WinForms) app, can pin a secondary tile by using a packaged app (see [Building an MSIX package from your code](/windows/msix/desktop/source-code-overview)). This was formerly known as Desktop Bridge.
14
+
A desktop app such as a WinUI 3 app (using the Windows App SDK), or a Windows Presentation Foundation (WPF) or Windows Forms (WinForms) app, can pin a secondary tile by using a packaged app (see [Building an MSIX package from your code](/windows/msix/desktop/source-code-overview)). This was formerly known as Desktop Bridge.
15
15
16
16

0 commit comments