Back to Devexpress

DevExpress Popup for .NET MAUI

maui-404779-dialogs-menu-and-navigation-popup-popup.md

latest2.7 KB
Original Source

DevExpress Popup for .NET MAUI

  • Oct 01, 2024
  • 2 minutes to read

The DevExpress DXPopup for .NET MAUI allows you to show a Popup that overlays application content. You can attach the DXPopup control to any view on the screen or show it as a separate dialog.

Review our demo app on GitHub to try out the DXPopup control:

View Example

Add a Popup to the Page

Before you proceed, read the following topic: Get Started with DevExpress Controls for .NET Multi-platform App UI (.NET MAUI).

Use the IsOpen property to show or hide a Popup. The following example adds the Popup to a page:

xaml
<ContentPage ...
             xmlns:dx="http://schemas.devexpress.com/maui">
    <dx:DXPopup x:Name="Popup" ...>
        <!--...-->
    </dx:DXPopup>
</ContentPage>
csharp
private void Button_Clicked(object sender, EventArgs e) {
    Popup.IsOpen = true;
}

A Popup raises the following events when a user opens and closes it:

OpeningOccurs before the pop-up view appears and allows you to prevent the action.OpenedOccurs after the pop-up view appears.ClosingOccurs before the pop-up view closes and allows you to prevent the action.ClosedOccurs after the pop-up view closes.

Next Steps

PositioningDescribes how you can position popup on the page.Custom appearanceExplains how to customize popup appearance.ExamplesLists task-based solutions with the Popup control.

Context Menu Actions in Popup

DataGrid Column Chooser

CRUD Operations