Skip to content

Commit 4b6b0b9

Browse files
Karl-Bridge-Microsoftjwmsftalvinashcraftcodendone
authored
style updates (#5370)
* move winui2 docs to uwp (#5361) * Rename hub/apps/winui/winui2/nuget-packages.md to uwp/get-started/winui2/nuget-packages.md * Rename hub/apps/winui/winui2/index.md to uwp/get-started/winui2/index.md * Update and rename hub/apps/winui/winui2/getting-started.md to uwp/get-started/winui2/getting-started.md * Rename hub/apps/winui/winui2/release-notes/index.md to uwp/get-started/winui2/release-notes/index.md * Rename hub/apps/winui/winui2/release-notes/winui-2.0.md to uwp/get-started/winui2/release-notes/winui-2.0.md * Rename hub/apps/winui/winui2/release-notes/winui-2.1.md to uwp/get-started/winui2/release-notes/winui-2.1.md * Rename hub/apps/winui/winui2/release-notes/winui-2.2.md to uwp/get-started/winui2/release-notes/winui-2.2.md * Rename hub/apps/winui/winui2/release-notes/winui-2.3.md to uwp/get-started/winui2/release-notes/winui-2.3.md * Rename hub/apps/winui/winui2/release-notes/winui-2.4.md to uwp/get-started/winui2/release-notes/winui-2.4.md * Rename hub/apps/winui/winui2/release-notes/winui-2.5.md to uwp/get-started/winui2/release-notes/winui-2.5.md * Rename hub/apps/winui/winui2/release-notes/winui-2.6.md to uwp/get-started/winui2/release-notes/winui-2.6.md * Rename hub/apps/winui/winui2/release-notes/winui-2.7.md to uwp/get-started/winui2/release-notes/winui-2.7.md * Rename hub/apps/winui/winui2/release-notes/winui-2.8.md to uwp/get-started/winui2/release-notes/winui-2.8.md * move WinUI2 images to UWP folder * update toc and instructions * update get-started links in toc * add missing images * fix links * update links * redirect winui2 docs * update links to winui2 * Add Blazor Hybrid to overview of framework options * [WinAppSDK] Improve RuntimeCompatibilityChange references (#5369) * Link to RuntimeCompatibilityChange use. Clean up styling of servicing fixes. * Escape un-code-styled less-than/greater-than * Add note to Smart App Control about ECC sigs --------- Co-authored-by: Jim Walker <jimwalk@microsoft.com> Co-authored-by: Alvin Ashcraft <aashcraft@microsoft.com> Co-authored-by: Mike Crider <45052236+codendone@users.noreply.github.com> Co-authored-by: Alvin Ashcraft <73072+alvinashcraft@users.noreply.github.com>
1 parent e7f535c commit 4b6b0b9

File tree

143 files changed

+490
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+490
-421
lines changed

.openpublishing.redirection.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8799,6 +8799,71 @@
87998799
"source_path": "uwp/launch-resume/handle-file-activation.md",
88008800
"redirect_url": "/windows/apps/develop/launch/handle-file-activation",
88018801
"redirect_document_id": false
8802+
},
8803+
{
8804+
"source_path": "hub/apps/winui/winui2/index.md",
8805+
"redirect_url": "/windows/uwp/get-started/winui2/",
8806+
"redirect_document_id": false
8807+
},
8808+
{
8809+
"source_path": "hub/apps/winui/winui2/getting-started.md",
8810+
"redirect_url": "/windows/uwp/get-started/winui2/getting-started",
8811+
"redirect_document_id": false
8812+
},
8813+
{
8814+
"source_path": "hub/apps/winui/winui2/nuget-packages.md",
8815+
"redirect_url": "/windows/uwp/get-started/winui2/nuget-packages",
8816+
"redirect_document_id": false
8817+
},
8818+
{
8819+
"source_path": "hub/apps/winui/winui2/release-notes/index.md",
8820+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/",
8821+
"redirect_document_id": false
8822+
},
8823+
{
8824+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.0.md",
8825+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.0",
8826+
"redirect_document_id": false
8827+
},
8828+
{
8829+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.1.md",
8830+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.1",
8831+
"redirect_document_id": false
8832+
},
8833+
{
8834+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.2.md",
8835+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.2",
8836+
"redirect_document_id": false
8837+
},
8838+
{
8839+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.3.md",
8840+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.3",
8841+
"redirect_document_id": false
8842+
},
8843+
{
8844+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.4.md",
8845+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.4",
8846+
"redirect_document_id": false
8847+
},
8848+
{
8849+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.5.md",
8850+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.5",
8851+
"redirect_document_id": false
8852+
},
8853+
{
8854+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.6.md",
8855+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.6",
8856+
"redirect_document_id": false
8857+
},
8858+
{
8859+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.7.md",
8860+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.7",
8861+
"redirect_document_id": false
8862+
},
8863+
{
8864+
"source_path": "hub/apps/winui/winui2/release-notes/winui-2.8.md",
8865+
"redirect_url": "/windows/uwp/get-started/winui2/release-notes/winui-2.8",
8866+
"redirect_document_id": false
88028867
}
88038868
]
88048869
}

hub/apps/design/controls/animated-icon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private void Button_PointerExited(object sender, PointerRoutedEventArgs e)
219219

220220
[!INCLUDE [uwp-winui2-note](../../../includes/uwp-winui-2-note.md)]
221221

222-
The AnimatedIcon for UWP apps requires WinUI 2. For more info, including installation instructions, see [WinUI 2](../../winui/winui2/index.md). APIs for this control exist in the [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespace.
222+
The AnimatedIcon for UWP apps requires WinUI 2. For more info, including installation instructions, see [WinUI 2](/windows/uwp/get-started/winui2/). APIs for this control exist in the [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespace.
223223

224224
> [!div class="checklist"]
225225
>

hub/apps/design/controls/auto-suggest-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
150150
> - **UWP APIs:** [AutoSuggestBox class](/uwp/api/Windows.ui.xaml.controls.autosuggestbox), [TextChanged event](/uwp/api/windows.ui.xaml.controls.autosuggestbox.textchanged), [SuggestionChose event](/uwp/api/windows.ui.xaml.controls.autosuggestbox.suggestionchosen), [QuerySubmitted event](/uwp/api/windows.ui.xaml.controls.autosuggestbox.querysubmitted)
151151
> - [Open the WinUI 2 Gallery app and see the AutoSuggestBox in action](winui2gallery:/item/AutoSuggestBox). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
152152
153-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
153+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
154154

155155
## Related articles
156156

hub/apps/design/controls/breadcrumbbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public readonly struct Crumb
245245

246246
[!INCLUDE [uwp-winui2-note](../../../includes/uwp-winui-2-note.md)]
247247

248-
The BreadcrumbBar for UWP apps requires WinUI 2. For more info, including installation instructions, see [WinUI 2](../../winui/winui2/index.md). APIs for this control exist in the [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespace.
248+
The BreadcrumbBar for UWP apps requires WinUI 2. For more info, including installation instructions, see [WinUI 2](/windows/uwp/get-started/winui2/). APIs for this control exist in the [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespace.
249249

250250
> [!div class="checklist"]
251251
>

hub/apps/design/controls/buttons.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,15 +552,15 @@ private void ApplyListStyle(string listStyle)
552552

553553
[!INCLUDE [uwp-winui2-note](../../../includes/uwp-winui-2-note.md)]
554554

555-
The DropDownButton, SplitButton, and ToggleSplitButton controls for UWP apps are included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](../../winui/winui2/index.md). APIs for these controls exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespaces.
555+
The DropDownButton, SplitButton, and ToggleSplitButton controls for UWP apps are included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](/windows/uwp/get-started/winui2/). APIs for these controls exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespaces.
556556

557557
> [!div class="checklist"]
558558
>
559559
> - **UWP APIs:** [Button class](/uwp/api/windows.ui.xaml.controls.button), [RepeatButton class](/uwp/api/windows.ui.xaml.controls.primitives.repeatbutton), [HyperlinkButton class](/uwp/api/windows.ui.xaml.controls.hyperlinkbutton), [DropDownButton](/uwp/api/windows.ui.xaml.controls.dropdownbutton), [SplitButton](/uwp/api/windows.ui.xaml.controls.splitbutton), [ToggleSplitButton](/uwp/api/windows.ui.xaml.controls.togglesplitbutton), [ToggleButton](/uwp/api/windows.ui.xaml.controls.primitives.togglebutton), [Click event](/uwp/api/windows.ui.xaml.controls.primitives.buttonbase.click), [Command property](/uwp/api/windows.ui.xaml.controls.primitives.buttonbase.command), [Content property](/uwp/api/windows.ui.xaml.controls.contentcontrol.content)
560560
> - **WinUI 2 Apis:** [DropDownButton](/windows/winui/api/microsoft.ui.xaml.controls.dropdownbutton), [SplitButton](/windows/winui/api/microsoft.ui.xaml.controls.splitbutton), [ToggleSplitButton](/windows/winui/api/microsoft.ui.xaml.controls.togglesplitbutton)
561561
> - [Open the WinUI 2 Gallery app and see the Button in action](winui2gallery:/item/Button). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
562562
563-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for these controls that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
563+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for these controls that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
564564

565565
[!INCLUDE [muxc-alias-note](../../../includes/muxc-alias-note.md)]
566566

hub/apps/design/controls/calendar-date-picker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
9797
> - **UWP APIs:** [CalendarDatePicker class](/uwp/api/Windows.UI.Xaml.Controls.CalendarDatePicker), [Date property](/uwp/api/windows.ui.xaml.controls.calendardatepicker.date), [DateChanged event](/uwp/api/windows.ui.xaml.controls.calendardatepicker.datechanged)
9898
> - [Open the WinUI 2 Gallery app and see the CalendarDatePicker in action](winui2gallery:/item/CalendarDatePicker). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
9999
100-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
100+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
101101

102102
## Related articles
103103

hub/apps/design/controls/calendar-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
204204
> - **UWP APIs:** [CalendarView class](/uwp/api/Windows.UI.Xaml.Controls.CalendarView), [SelectedDatesChanged event](/uwp/api/windows.ui.xaml.controls.calendarview.selecteddateschanged)
205205
> - [Open the WinUI 2 Gallery app and see the CalendarView in action](winui2gallery:/item/CalendarView). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
206206
207-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
207+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
208208

209209
## Related articles
210210

hub/apps/design/controls/checkbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
315315
> - **UWP APIs:** [CheckBox class](/uwp/api/Windows.ui.xaml.controls.checkbox), [Checked event](/uwp/api/windows.ui.xaml.controls.primitives.togglebutton.checked), [IsChecked property](/uwp/api/windows.ui.xaml.controls.primitives.togglebutton.ischecked), [Content property](/uwp/api/windows.ui.xaml.controls.contentcontrol.content)
316316
> - [Open the WinUI 2 Gallery app and see the CheckBox in action](winui2gallery:/item/CheckBox). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
317317
318-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
318+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
319319

320320
## Related articles
321321

hub/apps/design/controls/color-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,15 @@ Hex values | IsHexInputVisible
205205

206206
[!INCLUDE [uwp-winui2-note](../../../includes/uwp-winui-2-note.md)]
207207

208-
The ColorPicker control for UWP apps is included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](../../winui/winui2/index.md). APIs for this control exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespaces.
208+
The ColorPicker control for UWP apps is included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](/windows/uwp/get-started/winui2/). APIs for this control exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) namespaces.
209209

210210
> [!div class="checklist"]
211211
>
212212
> - **UWP APIs:** [ColorPicker class](/uwp/api/windows.ui.xaml.controls.colorpicker), [Color property](/uwp/api/windows.ui.xaml.controls.colorpicker.Color), [ColorChanged event](/uwp/api/windows.ui.xaml.controls.colorpicker.ColorChanged)
213213
> - **WinUI 2 Apis:** [ColorPicker class](/windows/winui/api/microsoft.ui.xaml.controls.colorpicker), [Color property](/windows/winui/api/microsoft.ui.xaml.controls.colorpicker.Color), [ColorChanged event](/windows/winui/api/microsoft.ui.xaml.controls.colorpicker.ColorChanged)
214214
> - [Open the WinUI 2 Gallery app and see the ColorPicker in action](winui2gallery:/item/ColorPicker). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
215215
216-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles, templates, and features for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
216+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles, templates, and features for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
217217

218218
[!INCLUDE [muxc-alias-note](../../../includes/muxc-alias-note.md)]
219219

hub/apps/design/controls/combo-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
310310
> [!NOTE]
311311
> The [IsEditable](/uwp/api/windows.ui.xaml.controls.combobox.iseditable) property requires Windows 10, version 1809 ([SDK 17763](https://developer.microsoft.com/windows/downloads/windows-10-sdk)) or later.
312312
313-
[WinUI 2.2](../../winui/winui2/index.md) or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
313+
[WinUI 2.2](/windows/uwp/get-started/winui2/) or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
314314

315315
## Related articles
316316

hub/apps/design/controls/command-bar-flyout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,15 +413,15 @@ Light dismiss controls–such as menus, context menus, and other flyouts–trap
413413

414414
[!INCLUDE [uwp-winui2-note](../../../includes/uwp-winui-2-note.md)]
415415

416-
The CommandBarFlyout control for UWP apps is included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](../../winui/winui2/index.md). APIs for this control exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) (UWP) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) (WinUI) namespaces.
416+
The CommandBarFlyout control for UWP apps is included as part of WinUI 2. For more info, including installation instructions, see [WinUI 2](/windows/uwp/get-started/winui2/). APIs for this control exist in both the [Windows.UI.Xaml.Controls](/uwp/api/Windows.UI.Xaml.Controls) (UWP) and [Microsoft.UI.Xaml.Controls](/windows/winui/api/microsoft.ui.xaml.controls) (WinUI) namespaces.
417417

418418
> [!div class="checklist"]
419419
>
420420
> - **UWP APIs:** [CommandBarFlyout class](/uwp/api/windows.ui.xaml.controls.commandbarflyout), [TextCommandBarFlyout class](/uwp/api/windows.ui.xaml.controls.textcommandbarflyout), [AppBarButton class](/uwp/api/windows.ui.xaml.controls.appbarbutton), [AppBarToggleButton class](/uwp/api/windows.ui.xaml.controls.appbartogglebutton), [AppBarSeparator class](/uwp/api/windows.ui.xaml.controls.appbarseparator)
421421
> - **WinUI 2 Apis:** [CommandBarFlyout class](/windows/winui/api/microsoft.ui.xaml.controls.commandbarflyout), [TextCommandBarFlyout class](/windows/winui/api/microsoft.ui.xaml.controls.textcommandbarflyout)
422422
> - [Open the WinUI 2 Gallery app and see the CommandBarFlyout in action](winui2gallery:/item/CommandBarFlyout). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
423423
424-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
424+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
425425

426426
[!INCLUDE [muxc-alias-note](../../../includes/muxc-alias-note.md)]
427427

hub/apps/design/controls/command-bar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ APIs for this control exist in the [Windows.UI.Xaml.Controls](/uwp/api/Windows.U
299299
> - **UWP APIs:** [CommandBar class](/uwp/api/windows.ui.xaml.controls.commandbar), [AppBarButton class](/uwp/api/windows.ui.xaml.controls.appbarbutton), [AppBarToggleButton class](/uwp/api/windows.ui.xaml.controls.appbartogglebutton), [AppBarSeparator class](/uwp/api/windows.ui.xaml.controls.appbarseparator)
300300
> - [Open the WinUI 2 Gallery app and see the CommandBar in action](winui2gallery:/item/CommandBar). [!INCLUDE [winui-2-gallery](../../../includes/winui-2-gallery.md)]
301301
302-
We recommend using the latest [WinUI 2](../../winui/winui2/index.md) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
302+
We recommend using the latest [WinUI 2](/windows/uwp/get-started/winui2/) to get the most current styles and templates for all controls. WinUI 2.2 or later includes a new template for this control that uses rounded corners. For more info, see [Corner radius](../style/rounded-corner.md).
303303

304304
[Automatic styling of a SplitButton](#splitbutton) in a CommandBar requires that you use the SplitButton control from WinUI 2.6 or later.
305305

hub/apps/design/controls/commanding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ A [StandardUICommand](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.input
9696
In this example, we show how to enhance a basic [ListView](listview-and-gridview.md) with a Delete item command implemented through the [StandardUICommand](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.input.standarduicommand) class, while optimizing the user experience for a variety of input types using a [MenuBar](menus.md), [Swipe](swipe.md) control, hover buttons, and [context menu](menus.md).
9797

9898
> [!NOTE]
99-
> This sample requires the Microsoft.UI.Xaml.Controls NuGet package, a part of [WinUI 2](../../winui/winui2/index.md).
99+
> This sample requires the Microsoft.UI.Xaml.Controls NuGet package, a part of [WinUI 2](/windows/uwp/get-started/winui2/).
100100
101101
**Xaml:**
102102

@@ -381,7 +381,7 @@ This example shares the Delete functionality of the previous [StandardUICommand]
381381
Many platform controls use the XamlUICommand properties under the covers, just like our StandardUICommand example in the previous section.
382382

383383
> [!NOTE]
384-
> This sample requires the Microsoft.UI.Xaml.Controls NuGet package, a part of [WinUI 2](../../winui/winui2/index.md).
384+
> This sample requires the Microsoft.UI.Xaml.Controls NuGet package, a part of [WinUI 2](/windows/uwp/get-started/winui2/).
385385
386386
**Xaml:**
387387

0 commit comments

Comments
 (0)