Skip to content

Commit 7a4d53b

Browse files
authored
change note to warning, fix tip markdown (#4181)
1 parent 99c341b commit 7a4d53b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hub/apps/design/controls/pivot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Pivot control enables touch-swiping between a small set of content sections.
1616

1717
## Is this the right control?
1818

19-
> [!NOTE]
19+
> [!WARNING]
2020
>The Pivot control is not recommended for [Windows 11 design patterns](../basics/app-silhouette.md). We strongly recommend using one of these alternatives instead:
2121
>
2222
> - **WinUI 3** - Use the [SelectorBar](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.selectorbar) control.
@@ -110,7 +110,7 @@ This code mimics the Pivot control's built-in navigation experience, minus the t
110110

111111
## Create a pivot control
112112

113-
> [!NOTE]
113+
> [!WARNING]
114114
>The Pivot control is not recommended for [Windows 11 design patterns](../basics/app-silhouette.md). We strongly recommend using one of these alternatives instead:
115115
>
116116
> - **WinUI 3** - Use the [SelectorBar](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.selectorbar) control.
@@ -183,7 +183,7 @@ The control comes in two modes:
183183
- Tapping a pivot label navigates to the corresponding page, and the active pivot label will carousel into the first position.
184184
- Pivot items in a carousel loop from last to first pivot section.
185185

186-
> **TIP**
186+
> [!TIP]
187187
>
188188
> - Avoid using more than 5 headers when using carousel mode, as looping more than 5 can become confusing.
189189
> - Pivot headers should not carousel in a [10ft environment](../devices/designing-for-tv.md). Set the [IsHeaderItemsCarouselEnabled](/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.controls.pivot.IsHeaderItemsCarouselEnabled) property to `false` if your app will run on Xbox.

0 commit comments

Comments
 (0)