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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the appearance of the MessageBoxAdv?

Platform: WinForms |
Control: MessageBoxAdv |
Published Date: May 20, 2015 |
Last Revised Date: May 25, 2015

The appearance of the MessageBoxAdv can be customized by using the following properties of the MetroStyleColorTable.

 

  1. AbortButtonBackColor
  2. CancelButtonBackColor
  3. IgnoreButtonBackColor
  4. NoButtonBackColor
  5. OKButtonBackColor
  6. RetryButtonBackColor
  7. YesButtonBackColor
  8. CaptionBarColor
  9. CaptionForeColor
  10. ForeColor
  11. BackColor
  12. BorderColor

 

The following code example demonstrates the same.

C#

 

VB

 

Screenshot

Figure 1: Metro Style appearance of the MessageBoxAdv

 

Samples Links

C# 

http://www.syncfusion.com/downloads/support/directtrac/135929/MessageBoxAdvMetroColorTable-646548035.zip

VB 

http://www.syncfusion.com/downloads/support/directtrac/137069/MessageBoxAdvMetroColorTable_VB-382674015.zip

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon