Skip to content

Commit e5eb165

Browse files
stevewhimsalvinashcrafthtcfreeklindexiv-sidlama
authored
Stwhi release appsdk 1.1 stable/pull from main (#2438)
* Remove references to Reveal Highlight style Removing reference to Reveal Highlight from the Reveal Focus style page. - Ref in parens near top. - Referred to in Related articles links. The Reveal Highlight page was removed. * Update date * Revert "Update date" This reverts commit da0ca4d. * Update date on reveal-focus * Fix month on date in header * Update PT Run docs * fixes * layout improvement * fixes, update calculator table * improve image * fix spelling in clac warning * fix spaces * Update composition-effects.md and fix compile * [BrokenLinksH2] Fixed the link path Fixed the link path * [BrokenLinksH2] Fixed the link path Fixed the link path * fix hyperbolic calc operations * Update installer link from WinUI3 tutorial * Improve the downloads page (#2350) * Update downloads.md * Update downloads.md * Update downloads.md * Update downloads.md * Update downloads.md * Update downloads.md * feedback * remove VSIX and formatting * Update downloads.md * Update apply-rounded-corners.md Wording changes and improved the P/Invoke signature to throw exceptions rather than return HRESULT. * fixing typo (#2395) * [BrokenLinksH2] Fixed the link path Fixed the link filenames * [BrokenLinksH2] Fixed the link path Fixed the link path * [BrokenLinksH2] Fixed the link path Fixed the link * [BrokenLinksH2] Fixed the link path Fixed the link path * resolve feedback * update keyword list * improvements * fixes * Info adjustments * fix table * Release appsdk 1.1 preview1 (#2332) Publish docs to accompany Windows App SDK v1.1 preview 1 * Update release cadence table to 1.1.0-preview1 (#2408) * Fix downloads link in 1.1 Preview 1 Rel Notes (#2409) * Fix downloads link in 1.1 Preview 1 Rel Notes * Once more * Update preview-channel.md Co-authored-by: Steven White <[email protected]> * Add minimum .NET SDK version to 1.1-preview1 relnote (#2410) * Update preview-channel.md * Update preview-channel.md * Update preview-channel.md Co-authored-by: Steven White <[email protected]> * new topic about config macros (#2411) * polish (#2412) * layout adjustments and requirements list update * small fixes * [BrokenLinksH2] Hid the broken link Commented the broken link * Add Arm64EC ABI doc (#2337) * Author new Arm64EC ABI doc * TOC (#2415) * Fix link to arm abi (#2416) * Fix broken download link (#2414) * You can combine different WINRT_NATVIS settings (#2418) * You can combine different WINRT_NATVIS settings `WINRT_NATVIS` can also be set differently by different files. If any file enables `WINRT_NATVIS` (either explicitly or implicitly by defining `_DEBUG`), then the resulting module gets natvis support. * Update macros.md Co-authored-by: Steven White <[email protected]> * Clarify when runtime is needed for push (#2419) * Fix sub commands in "update" section The "update all" section mistakenly left out that "update" is a sub-command of "source", as it does not work on its own as a top level winget command. Additionally, these two update commands listed "C:\" at the beginning, which naturally only works if winget is located at the root of the C drive, which is not normally the case, nor do the other examples list this - thus, this has been removed. * Additional 1.1-preview1 rel note comments (#2421) * Additional 1.1-preview1 rel note comments * Update preview-channel.md Consistent "currently". Couple other minor tweaks. * Resolving conflict * Stwhi conflicts (#2422) * TOC (#2415) * Fix link to arm abi (#2416) * Fix broken download link (#2414) * You can combine different WINRT_NATVIS settings (#2418) * You can combine different WINRT_NATVIS settings `WINRT_NATVIS` can also be set differently by different files. If any file enables `WINRT_NATVIS` (either explicitly or implicitly by defining `_DEBUG`), then the resulting module gets natvis support. * Update macros.md Co-authored-by: Steven White <[email protected]> * Clarify when runtime is needed for push (#2419) Co-authored-by: Matt Wojciakowski <[email protected]> Co-authored-by: angelazhangmsft <[email protected]> Co-authored-by: Raymond Chen <[email protected]> * Addressing comments * Consistency with the other change to "evaluating". * Notifications and self-contained deployment clarifications Co-authored-by: Steven White <[email protected]> Co-authored-by: Matt Wojciakowski <[email protected]> Co-authored-by: angelazhangmsft <[email protected]> Co-authored-by: Raymond Chen <[email protected]> * Update what's new (#2424) * Jken whatsnew mar22 (#2425) * Update what's new * Corrected broken links * support nuance (#2426) * Add 0.8.7 release notes (#2423) * Add 0.8.7 release notes * address feedback * formatting * Update stable-channel.md Co-authored-by: Steven White <[email protected]> * remove WinUI 3 margins * latest available (#2428) * fix broken link (#3764) * naming convention (#2431) * naming convention * parens * Updates to disadvantages. (#2432) * Added instructions for hybrid CRT. (#2433) * Added instructions for hybrid CRT. * Update deploy-self-contained-apps.md Co-authored-by: Steven White <[email protected]> * Improved HybridCRT.props guidance. (#2434) * Update Pivot recommendations * fix link * updating descriptions (#2437) * typo * Java path correction As pointed out in issue #3721 * resolving conflicts * Add note for winget upgrade (#2439) * resolving build issues (#2440) * resolving build issues * fixing another issue * fixing another issue 2 * fixing conflicts 2 Co-authored-by: Alvin Ashcraft <[email protected]> Co-authored-by: htcfreek <[email protected]> Co-authored-by: lindexi <[email protected]> Co-authored-by: Sid Lama <[email protected]> Co-authored-by: PRMerger16 <[email protected]> Co-authored-by: PRMerger7 <[email protected]> Co-authored-by: angelazhangmsft <[email protected]> Co-authored-by: KB <[email protected]> Co-authored-by: Peter Torr (MSFT) <[email protected]> Co-authored-by: PRMerger8 <[email protected]> Co-authored-by: PRMerger19 <[email protected]> Co-authored-by: Linda Spiller <[email protected]> Co-authored-by: Shannon Leavitt <[email protected]> Co-authored-by: MB <[email protected]> Co-authored-by: Gabby Bilka <[email protected]> Co-authored-by: Matt Wojciakowski <[email protected]> Co-authored-by: Raymond Chen <[email protected]> Co-authored-by: Kade <[email protected]> Co-authored-by: PRMerger3 <[email protected]> Co-authored-by: John Kennedy <[email protected]> Co-authored-by: Jim Walker (WINDOWS) <[email protected]> Co-authored-by: PRMerger5 <[email protected]> Co-authored-by: Mike Battista <[email protected]> Co-authored-by: PRMerger9 <[email protected]>
1 parent db41faf commit e5eb165

38 files changed

+3386
-2026
lines changed

hub/android/xamarin-android.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use this tutorial, you'll need the following:
2626
> [!NOTE]
2727
> This guide works with Visual Studio 2022, Visual Studio 2019, and Visual Studio 2017. If you're using Visual Studio 2017, some instructions might be incorrect due to UI differences between versions of Visual Studio.
2828
29-
You will also to have an Android phone or configured emulator in which to run your app. See [Configuring an Android emulator](emulator.md).
29+
You will also need to have an Android phone or configured emulator in which to run your app. See [Configuring an Android emulator](emulator.md).
3030

3131
## Create a new Xamarin.Android project
3232

hub/apps/design/controls/pivot.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: The Pivot control enables touch-swiping between a small set of content sections.
33
title: Pivot
44
template: detail.hbs
5-
ms.date: 06/24/2021
5+
ms.date: 04/04/2022
66
ms.topic: article
77
keywords: windows 10, uwp
88
pm-contact: yulikl
@@ -14,11 +14,6 @@ ms.localizationpriority: medium
1414

1515
# Pivot
1616

17-
> [!Important]
18-
> The **[Pivot](/uwp/api/Windows.UI.Xaml.Controls.Pivot)** control is no longer recommended and could be removed in future releases of the Windows UI Library (WinUI). Note that information and images in this topic might be out of date.
19-
>
20-
> Please use the **[NavigationView](navigationview.md)** control with the *Top* navigation style (or display mode) instead.
21-
2217
The [Pivot](/uwp/api/Windows.UI.Xaml.Controls.Pivot) control enables touch-swiping between a small set of content sections.
2318

2419
![Default focus underlines selected header](images/pivot_focus_selectedHeader.png)
@@ -61,13 +56,17 @@ The Pivot control, just like [NavigationView](navigationview.md), underlines the
6156

6257
## Is this the right control?
6358

64-
To achieve common top navigation and tabs patterns, we recommend using [NavigationView](navigationview.md), which automatically adapts to different screen sizes and allows for greater customization.
59+
> [!NOTE]
60+
>The Pivot control is not recommended for [Windows 11 design patterns](../basics/app-silhouette.md). When designing for Windows 11, consider using a [NavigationView](navigationview.md) or [TabView](tab-view.md) control instead of a Pivot control. See the [Use NavigationView instead of Pivot](#use-navigationview-instead-of-pivot) section for an example
61+
62+
To create a tabbed UI, use a [TabView](tab-view.md) control.
6563

66-
However, if your navigation requires touch-swiping, we recommend using Pivot.
64+
To achieve common top navigation patterns, we recommend using [NavigationView](navigationview.md), which automatically adapts to different screen sizes and allows for greater customization.
6765

68-
The other key differences between the NavigationView and Pivot controls are the default overflow behavior and the navigation API:
66+
Some key differences between the NavigationView and Pivot are listed here:
6967

70-
- Pivot carousels overflow items, while NavigationView uses a menu dropdown overflow so that users can see all items.
68+
- Pivot supports touch-swiping to switch between items.
69+
- Overflow items in a Pivot carousel, while NavigationView uses a menu dropdown overflow so that users can see all items.
7170
- Pivot handles navigation between content sections, while NavigationView allows for more control over navigation behavior.
7271

7372
## Use NavigationView instead of Pivot

hub/apps/design/style/reveal-focus.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Reveal Focus is a lighting effect that animates the border of focusable elements when the user moves gamepad or keyboard focus to them.
33
title: Reveal Focus
44
template: detail.hbs
5-
ms.date: 09/24/2020
5+
ms.date: 03/25/2022
66
ms.topic: article
77
keywords: windows 10, uwp
88
pm-contact: chphilip
@@ -16,9 +16,6 @@ ms.localizationpriority: medium
1616

1717
Reveal Focus is a lighting effect for [10-foot experiences](../devices/designing-for-tv.md), such as Xbox One and television screens. It animates the border of focusable elements, such as buttons, when the user moves gamepad or keyboard focus to them. It's turned off by default, but it's simple to enable.
1818

19-
(For the Reveal Highlight effect, a lighting affect that highlights interactive elements, see the [Reveal Highlight article](./index.md).)
20-
21-
2219
> **Important APIs**: [Application.FocusVisualKind property](/uwp/api/windows.ui.xaml.application.FocusVisualKind), [FocusVisualKind enum](/uwp/api/windows.ui.xaml.focusvisualkind), [Control.UseSystemFocusVisuals property](/uwp/api/Windows.UI.Xaml.Controls.Control.UseSystemFocusVisuals)
2320
2421
## How it works
@@ -166,7 +163,6 @@ Reveal Focus is a Fluent Design System component that adds light to your app. To
166163

167164
## Related articles
168165

169-
- [Reveal Highlight](./index.md)
170166
- [Designing for Xbox and TV](../devices/designing-for-tv.md)
171167
- [Gamepad and remote control interactions](../input/gamepad-and-remote-interactions.md)
172168
- [Focus visuals sample](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlFocusVisuals)

hub/apps/desktop/modernize/apply-rounded-corners.md

+14-11
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If your app's main window doesn't receive automatic rounding, it's because you'v
3232
- Empty non-client area
3333
- Other customizations, such as extra non-child windows used for custom shadows
3434

35-
Changing one of these things will break automatic rounding. Although we did try to round as many apps as possible with our system heuristics, there are some combinations of customizations that we can't predict so we provided a manual opt-in API for those cases. If you address these issues in your app or call the opt-in API, described in the following section, then it's possible for the system to round you. Note, however, that the API is a hint to the system and does not guarantee rounding, depending on the customizations.
35+
Changing one of these things will break automatic rounding. Although we did try to round as many apps as possible with our system heuristics, there are some combinations of customizations that we can't predict so we provided a manual opt-in API for those cases. If you address these issues in your app or call the opt-in API, described in the following section, then it's possible for the system to round your app's window. Note, however, that the API is a hint to the system and does not guarantee rounding, depending on the customizations.
3636
1. Apps that cannot ever be rounded, even if they call the opt-in API.
3737

3838
These apps have no frame or borders, and typically have heavily customized UI. If your app does one of the following, it cannot be rounded:
@@ -59,7 +59,7 @@ A pointer to the appropriate value from this enum is passed to the third paramet
5959

6060
### For C# apps
6161

62-
DwmSetWindowAttribute is a native C++ API. If your app is based on .NET and uses C#, you'll need to use [P/Invoke](/dotnet/standard/native-interop/pinvoke) to import dwmapi.dll and the DwmSetWindowAttribute function signature. All standard WinForms and WPF apps are rounded automatically like any other app, but if you customize your window frame or use a third party framework, you might need to opt-in to rounded corners if doing so results in losing the default rounding. See the Examples section for further details.
62+
DwmSetWindowAttribute is a native Win32 API and is not exposed directly to .NET code. You'll need to use your language's implementation of P/Invoke to declare the function (C# code is given in the example below). All standard WinForms and WPF apps are rounded automatically, but if you customize your window frame or use a third party framework, you might need to opt-in to rounded corners. See the Examples section for further details.
6363

6464
## Examples
6565

@@ -70,7 +70,7 @@ The following examples show how you can call [**DwmSetWindowAttribute**](/window
7070
7171
### Example 1 - Rounding an app's main window in C# - WPF
7272

73-
To call DwmSetWindowAttribute in a C# WPF desktop app, you'll need to import dwmapi.dll and the DwmSetWindowAttribute function signature with [P/Invoke](/dotnet/standard/native-interop/pinvoke). First you'll need to redefine the required enum values from the native dwmapi.h header, then declare the function using C# types equivalent to the original native function. Because the original takes a pointer for the third parameter, make sure to use the *ref* keyword so you can pass the address of a variable when you call the function. You can do this in your MainWindow class in MainWindow.xaml.cs.
73+
This example shows how to call DwmSetWindowAttribute from C# by using the **[DllImport]** attribute. Note that this definition is specific to rounded corners; the DwmSetWindowAttribute function is designed to take different parameters depending on the flags provided, so this is not a general-purpose signature. The example also includes copies of the relevant enums from the dwmapi.h header file. Because the Win32 API takes a pointer for the third parameter, make sure to use the *ref* keyword so you can pass the address of a variable when you call the function. You can do this in your MainWindow class in MainWindow.xaml.cs.
7474

7575
```CSharp
7676
using System.Runtime.InteropServices;
@@ -79,13 +79,15 @@ using System.Windows.Interop;
7979
public partial class MainWindow : Window
8080
{
8181
// The enum flag for DwmSetWindowAttribute's second parameter, which tells the function what attribute to set.
82+
// Copied from dwmapi.h
8283
public enum DWMWINDOWATTRIBUTE
8384
{
8485
DWMWA_WINDOW_CORNER_PREFERENCE = 33
8586
}
8687

8788
// The DWM_WINDOW_CORNER_PREFERENCE enum for DwmSetWindowAttribute's third parameter, which tells the function
8889
// what value of the enum to set.
90+
// Copied from dwmapi.h
8991
public enum DWM_WINDOW_CORNER_PREFERENCE
9092
{
9193
DWMWCP_DEFAULT = 0,
@@ -95,12 +97,11 @@ public partial class MainWindow : Window
9597
}
9698

9799
// Import dwmapi.dll and define DwmSetWindowAttribute in C# corresponding to the native function.
98-
[DllImport("dwmapi.dll", CharSet = CharSet.Unicode, SetLastError = true)]
99-
private static extern long DwmSetWindowAttribute(IntPtr hwnd,
100+
[DllImport("dwmapi.dll", CharSet = CharSet.Unicode, PreserveSig = false)]
101+
internal static extern void DwmSetWindowAttribute(IntPtr hwnd,
100102
DWMWINDOWATTRIBUTE attribute,
101103
ref DWM_WINDOW_CORNER_PREFERENCE pvAttribute,
102104
uint cbAttribute);
103-
104105
// ...
105106
// Various other definitions
106107
// ...
@@ -127,7 +128,7 @@ public MainWindow()
127128

128129
### Example 2 - Rounding an app's main window in C# - WinForms
129130

130-
Like with WPF, for a WinForms app you'll first need to import dwmapi.dll and the DwmSetWindowAttribute function signature with [P/Invoke](/dotnet/standard/native-interop/pinvoke). You can do this in your primary Form class.
131+
Like with WPF, for a WinForms app you'll first need to import dwmapi.dll and the DwmSetWindowAttribute function signature with P/Invoke. You can do this in your primary Form class.
131132

132133
```Csharp
133134
using System;
@@ -136,24 +137,26 @@ using System.Runtime.InteropServices;
136137
public partial class Form1 : Form
137138
{
138139
// The enum flag for DwmSetWindowAttribute's second parameter, which tells the function what attribute to set.
140+
// Copied from dwmapi.h
139141
public enum DWMWINDOWATTRIBUTE
140142
{
141143
DWMWA_WINDOW_CORNER_PREFERENCE = 33
142-
}
144+
}
143145

144146
// The DWM_WINDOW_CORNER_PREFERENCE enum for DwmSetWindowAttribute's third parameter, which tells the function
145147
// what value of the enum to set.
148+
// Copied from dwmapi.h
146149
public enum DWM_WINDOW_CORNER_PREFERENCE
147150
{
148151
DWMWCP_DEFAULT = 0,
149152
DWMWCP_DONOTROUND = 1,
150153
DWMWCP_ROUND = 2,
151154
DWMWCP_ROUNDSMALL = 3
152-
}
155+
}
153156

154157
// Import dwmapi.dll and define DwmSetWindowAttribute in C# corresponding to the native function.
155-
[DllImport("dwmapi.dll", CharSet = CharSet.Unicode, SetLastError = true)]
156-
private static extern long DwmSetWindowAttribute(IntPtr hwnd,
158+
[DllImport("dwmapi.dll", CharSet = CharSet.Unicode, PreserveSig = false)]
159+
internal static extern void DwmSetWindowAttribute(IntPtr hwnd,
157160
DWMWINDOWATTRIBUTE attribute,
158161
ref DWM_WINDOW_CORNER_PREFERENCE pvAttribute,
159162
uint cbAttribute);

hub/apps/desktop/modernize/using-the-visual-layer-with-win32.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To create a new Win32 Application project in C++ named _HelloComposition_:
5353

5454
To use Windows Runtime (WinRT) APIs in your Win32 app, we use C++/WinRT. You need to configure your Visual Studio project to add C++/WinRT support.
5555

56-
(For details, see [Get started with C++/WinRT - Modify a Windows Desktop application project to add C++/WinRT support](/windows/uwp/cpp-and-winrt-apis/get-started.md#modify-a-windows-desktop-application-project-to-add-cwinrt-support)).
56+
(For details, see [Get started with C++/WinRT - Modify a Windows Desktop application project to add C++/WinRT support](/windows/uwp/cpp-and-winrt-apis/get-started#modify-a-windows-desktop-application-project-to-add-cwinrt-support)).
5757

5858
1. From the **Project** menu, open the project properties (_HelloComposition Properties_) and ensure the following settings are set to the specified values:
5959

@@ -620,4 +620,4 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
620620
// ...
621621
// ... code not shown ...
622622
// ...
623-
```
623+
```

hub/apps/develop/title-bar.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ In UWP applications, you can customize the title bar by using members of the App
9393
> [!NOTE]
9494
> The [Windows.UI.WindowManagement.AppWindow](/uwp/api/windows.ui.windowmanagement.appwindow) class, used for secondary windows in UWP apps, does not support title bar customization. To customize the title bar of a UWP app that uses secondary windows, use ApplicationView as described in [Show multiple views with ApplicationView](/windows/apps/design/layout/application-view).
9595
96-
If you are considering migrating your UWP app to Windows App SDK, please view our windowing functionality migration guide. See [Windowing functionality migration](/windows-app-sdk/migrate-to-windows-app-sdk/guides/windowing.md) for more information.
96+
If you are considering migrating your UWP app to Windows App SDK, please view our windowing functionality migration guide. See [Windowing functionality migration](../windows-app-sdk/migrate-to-windows-app-sdk/guides/windowing.md) for more information.
9797

9898
---
9999

@@ -443,8 +443,7 @@ You specify the drag region by calling the [Window.SetTitleBar](/windows/winui/a
443443
Here's how to set a `Grid` of content as the draggable title bar region. This code goes in the XAML and code-behind for your app's first page.
444444

445445
```xaml
446-
<Grid x:Name="AppTitleBar"
447-
Margin="0,0,120,0">
446+
<Grid x:Name="AppTitleBar">
448447
<Image Source="Images/WindowIcon.png"
449448
HorizontalAlignment="Left"
450449
Width="16" Height="16"
@@ -798,7 +797,7 @@ These lines from the previous example show the padding columns in the XAML that
798797
<ColumnDefinition x:Name="LeftPaddingColumn" Width="0"/>
799798
<ColumnDefinition/>
800799
<ColumnDefinition x:Name="RightPaddingColumn" Width="0"/>
801-
</Grid.ColumnDefinition
800+
</Grid.ColumnDefinitions>
802801
```
803802

804803
The dimensions and position of the caption control area is communicated by the [AppWindowTitleBar](/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar) class so that you can account for it in the layout of your title bar UI. The width of the reserved region on each side is given by the [LeftInset](/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar.leftinset) or [RightInset](/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar.rightinset) properties, and its height is given by the [Height](/windows/windows-app-sdk/api/winrt/microsoft.ui.windowing.appwindowtitlebar.height) property.
@@ -820,11 +819,7 @@ LeftPaddingColumn.Width = new GridLength(CaptionButtonOcclusionWidthLeft);
820819
821820
#### [WinUI 3](#tab/winui3)
822821

823-
The title bar element (specified in the call to `SetTitleBar`) is presented over the caption buttons, so you need to set the side margins of your UIElement to leave space for the caption buttons. (If the title bar element is placed over the caption buttons and has a transparent background, the caption buttons will show through but will not receive any input.) For example, if all caption buttons (minimize, maximize/restore, close) are shown on the right side of the window, your title bar element should have a right margin value of 120 to ensure enough space for the buttons.
824-
825-
```xaml
826-
<Grid x:Name="AppTitleBar" Margin="0,0,120,0">
827-
```
822+
The system reserves the upper-left or upper-right corner of the app window for the system caption buttons (minimize, maximize/restore, close). The system retains control of the caption button area to guarantee that minimum functionality is provided for dragging, minimizing, maximizing, and closing the window. The system draws the Close button in the upper-right for left-to-right languages and the upper-left for right-to-left languages.
828823

829824
#### [UWP/WinUI 2](#tab/winui2)
830825

@@ -839,7 +834,7 @@ These lines from the previous example show the padding columns in the XAML that
839834
<ColumnDefinition x:Name="LeftPaddingColumn" Width="0"/>
840835
<ColumnDefinition/>
841836
<ColumnDefinition x:Name="RightPaddingColumn" Width="0"/>
842-
</Grid.ColumnDefinition
837+
</Grid.ColumnDefinitions>
843838
```
844839

845840
The dimensions and position of the caption control area is communicated by the [CoreApplicationViewTitleBar](/uwp/api/windows.applicationmodel.core.coreapplicationviewtitlebar) class so that you can account for it in the layout of your title bar UI. The width of the reserved region on each side is given by the [SystemOverlayLeftInset](/uwp/api/windows.applicationmodel.core.coreapplicationviewtitlebar.SystemOverlayLeftInset) or [SystemOverlayRightInset](/uwp/api/windows.applicationmodel.core.coreapplicationviewtitlebar.SystemOverlayRightInset) properties, and its height is given by the [Height](/uwp/api/windows.applicationmodel.core.coreapplicationviewtitlebar.Height) property.
@@ -1439,7 +1434,7 @@ namespace WASDK_ExtendedTitleBar
14391434
<RowDefinition/>
14401435
</Grid.RowDefinitions>
14411436

1442-
<Grid x:Name="AppTitleBar" Margin="0,0,120,0">
1437+
<Grid x:Name="AppTitleBar">
14431438
<Image Source="Images/WindowIcon.png"
14441439
HorizontalAlignment="Left"
14451440
Width="16" Height="16"

0 commit comments

Comments
 (0)