diff --git a/docs/maui/views/popup.md b/docs/maui/views/popup.md index 3ead29a7..3eae07dd 100644 --- a/docs/maui/views/popup.md +++ b/docs/maui/views/popup.md @@ -281,6 +281,43 @@ public class MyPage : ContentPage > [!NOTE] > In order to handle the tapping outside of a `Popup` when also awaiting the result you can change the value that is returned through the `ResultWhenUserTapsOutsideOfPopup` property. +## Styling + +The `Popup` class allows the use of .NET MAUI [Styles](/dotnet/maui/user-interface/styles/xaml) to make it easier to share common visual settings across multiple popups. + +The following example shows how to define a style that applies to the `SimplePopup` example from the previous section. + +```xaml + + + + + + + +