From e2728a870137f1d94a474df9b487a9a2abdb268f Mon Sep 17 00:00:00 2001 From: David Ortinau Date: Tue, 19 Aug 2025 07:34:31 -0500 Subject: [PATCH] docs(.NET10): Add example for secondary ToolbarItem ordering on iOS/macOS; keep warning about icons; monikered block --- docs/user-interface/toolbaritem.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/user-interface/toolbaritem.md b/docs/user-interface/toolbaritem.md index 17175e2ce..9142bfb7a 100644 --- a/docs/user-interface/toolbaritem.md +++ b/docs/user-interface/toolbaritem.md @@ -126,3 +126,24 @@ Tapping the three dots reveals items in a vertical list: > [!WARNING] > Icon behavior in objects that have their property set to `Secondary` can be inconsistent across platforms. Avoid setting the property on items that appear in the secondary menu. + +::: moniker range=">=net-maui-10.0" + +### Example: order secondary items by priority (iOS and Mac Catalyst) + +On iOS and Mac Catalyst, secondary items are shown in a pull‑down menu ordered by their `Priority` (lower values appear first): + +```xaml + + + + + + + +``` + +> [!TIP] +> Keep labels short so they fit comfortably in the pull‑down. Avoid icons for `Secondary` items due to platform inconsistency. + +::: moniker-end