We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The .NET MAUI Popup control displays an alert message with customized buttons or a desired view inside a pop-up. Users can completely customize the pop-up’s appearance and functionality, including its header, body, and footer.


.NET MAUI Popup Code Example

Easily get started with the .NET MAUI Popup using a few simple lines of XAML and C# code example as demonstrated below. Also, explore our .NET MAUI Popup Example that shows you how to render and configure the .NET MAUI Popup.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:GettingStarted"
             x:Class="GettingStarted.MainPage" 
            Padding="0,40,0,0">
    <StackLayout x:Name="mainLayout">
      <Button x:Name="clickToShowPopup" Text="ClickToShowPopup" 
               VerticalOptions="Start" HorizontalOptions="Center"
               Clicked="ClickToShowPopup_Clicked" />
              <popup:SfPopup x:Name="popup" />
    </StackLayout>
</ContentPage>
namespace GettingStarted
{
   public partial class MainPage : ContentPage
   {
       public MainPage()
       {
           InitializeComponent();
       }
 
       private void ClickToShowPopup_Clicked(object sender, EventArgs e)
       {
           popup.Show();
       }
   }
}

Built-in .NET MAUI dialogs

.NET MAUI dialogs display pop-up windows with headers and body regions that can be customized by using templates. Users can show or hide headers and footers and display the pop-up window completely using the MVVM approach.

.NET MAUI Popup with built-in dialogs.


.NET MAUI Popup modal representation.

The .NET MAUI Popup can also be used as a modal window. It prevents interaction with the application until the window is closed using the built-in close icon.


Animations

The .NET MAUI Popup offers a range of built-in animations for enhancing the user experience during the opening and closing of the pop-up view. The included animations are:

  • Zoom
  • Fade
  • Slide on left
  • Slide on right
  • Slide on top
  • Slide on bottom
  • None

.NET MAUI Popup with zoom animation.


Position customizations

The control provides built-in customization options to display the Popup in different positions. Users can display the Popup in the following positions:

.NET MAUI Popup at the center.

Center of the screen

Display a Popup at the center of the screen.

.NET MAUI Popup positioned relative to another view.

Relative to another view

Display a Popup in positions relative to another control on the screen.

.NET MAUI Popup when placement is absolute.

Absolute position

Display a Popup at any desired location on screen.

.NET MAUI Popup in full screen mode.

Full-screen mode

Display a Popup with full-screen width and height to show a large amount of content.


  • Change the style of every view in the Popup for a visually appealing look and feel.
  • Customize the border color, border thickness, close icon, and corner radius.
  • Customize the background color, text color, text alignment, font, and much more for the header and footer.

.NET MAUI Popup style.


.NET MAUI Popup with localization.

Localization

Localize all static, default strings in the .NET MAUI Popup to any supported language.




Frequently Asked Questions

The Syncfusion .NET MAUI Popup supports the following features:

  • Load complex views and layouts as content.
  • Entirely customizable layouts with styles.
  • Size customization and built-in animation.
  • Default layouts, such as one-button layout and two-button layout, to display simple information.
  • Show the pop-up at various positions, like relative to the view and at specific coordinates.
  • The ability to use a Popup layout as a modal window.
  • One of the best .NET MAUI Popup in the market, offering feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Mobile-touch friendly.
  • Extensive demos, documentation, and videos to let you get started quickly with the .NET MAUI Popup.

You can find our .NET MAUI Popup demo, which demonstrates how to render and configure the Popup.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon