Custom the Size of Modal PopUp Dialog

How to custom the size of the modal popup dialog? Screenshot (524).png


2 Replies

BC Belle Cruz January 19, 2022 05:07 AM UTC

Is there any update about my query?



VJ Vinitha Jeyakumar Syncfusion Team January 19, 2022 09:04 AM UTC

Hi Belle,


You can customize the size of the Modal Dialog by using the Height and Width property of Dialog control. please check the code below,

Code snippet:
<SfDialog Width="250px" Height="300px" IsModal="true" @bind-Visible="@IsVisible">
 
</SfDialog>

You can also use CSS style code to customize the size of the dialog,

<style>
    .e-dialog {
        height: 300px;
        width: 300px;
    }
</style>



Regards,
Vinitha


Loader.
Up arrow icon