.NET MAUI Popup - A Highly Customizable Dialog Window
- Use as an alert and modal window to prevent application interaction.
- Create stunning user interfaces by utilizing pre-built layouts, which include a header, body, and footer with accept and decline functionalities and positioning options.
Trusted by the world’s leading 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.
Modal window
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
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:
Center of the screen
Display a Popup at the center of the screen.
Relative to another view
Display a Popup in positions relative to another control on the screen.
Absolute position
Display a Popup at any desired location on screen.
Full-screen mode
Display a Popup with full-screen width and height to show a large amount of content.
Popup style
- 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.
Localization
Localize all static, default strings in the .NET MAUI Popup to any supported language.
Not sure how to create your first .NET MAUI Popup? Our tutorial videos and documentation can help.
I’d love to watch it now I’d love to read it nowFrequently Asked Questions
Why should you choose the Syncfusion .NET MAUI Popup?
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.
Where can I find the Syncfusion .NET MAUI Popup demo?
You can find our .NET MAUI Popup demo, which demonstrates how to render and configure the Popup.
Can I download and utilize the Syncfusion .NET MAUI Popup control for free?
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.
How do I get started with the Syncfusion .NET MAUI Popup control?
A good place to start would be our comprehensive getting started documentation.
.NET MAUI DataViz & UI Controls
Our Customers Love Us
Here are some of their experiences.
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.