I want to create a custom component similar to messagebox using Predefined Dialogs in syncfusion. Is it possible to help?
var res=await objComponent.Show("Body","Title",DialogType.YesNo,Icon.Info);
else if (res=DialogType.No)
How can we change the button captions from OK/Cancel to Yes/No?
We apologize for any inconvenience caused. You can easily customize the button captions from "OK/Cancel" to "Yes/No" by using the "Content" property. This will allow you to personalize the buttons according to your preferences.
To help you with this customization, we have prepared a detailed documentation section. Kindly refer to the following link for more clarification:
If you have any further questions or need additional assistance, please reach out us.
Thank you for your answer
How can the following image be implemented?
Greeting from Syncfusion support!
Regarding the implementation of the dialog shown in your provided image, we've carefully reviewed your request and have prepared a customized sample for your reference. In order to achieve this design, we have overridden the CSS styles for the dialog component.
You can find a screenshot of the customized dialog implementation in the attached image.