diff --git a/docs/fundamentals/shell/flyout.md b/docs/fundamentals/shell/flyout.md index a8d2cf54e..01b73a89b 100644 --- a/docs/fundamentals/shell/flyout.md +++ b/docs/fundamentals/shell/flyout.md @@ -1,7 +1,7 @@ --- title: ".NET MAUI Shell flyout" description: "Learn how to customize and control a .NET MAUI flyout, which is the optional root menu for a .NET MAUI Shell app." -ms.date: 08/30/2024 +ms.date: 11/28/2025 --- # .NET MAUI Shell flyout @@ -180,8 +180,9 @@ The default used for each - + @@ -209,19 +210,12 @@ The default used for each - - - - - - - @@ -243,6 +237,9 @@ The default used for each ``` +> [!IMPORTANT] +> When combining `OnPlatform` with `AppThemeBinding`, avoid nesting `AppThemeBinding` inside an `` element with `x:TypeArguments="Color"`, as this can cause type cast errors at runtime on Android. Instead, use the inline markup extension syntax as shown above, or apply colors directly using style classes. + This template can be used for as a basis for making alterations to the existing flyout layout, and also shows the visual states that are implemented for flyout items. In addition, the , , and elements all have `x:Name` values and so can be targeted with the Visual State Manager. For more information, see [Set state on multiple elements](~/user-interface/visual-states.md#set-state-on-multiple-elements).