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.
Unfortunately, activation email could not send to your email. Please try again.

How to customize the ControlBox buttons appearance in MetroForm?

In MetroForm at present, there is no option to customize ControlBox button bounds and appearance cannot be customized. If user would like to customize the ControlBox, that can be achieved by using property named CaptionImages and by handling below events.

 

ImageMouseMove   

   

This event is raised when the mouse pointer enters CaptionImage bounds and used to display the ToolTip for Control Box buttons.

 

ImageMouseUp   

   

This event raises when Mouse pointer selection is done on CaptionImage bounds and Mouse selection is released.

   

ImageMouseEnter   

   

This event is raised when Mouse pointer enters CaptionImage bounds. It is used to show highlight effect for CaptionImage back color.

   

ImageMouseLeave   

   

This event is raised when Mouse pointer leaves CaptionImage bounds. It is used to show highlight effect for CaptionImage back color.

   

Following code examples demonstrates the same.

C#

 

VB

                       

C:\Users\keerthana.jegannatha\Pictures\April\MetroForm.png

Figure 1. Customize the ControlBox appearance in MetroForm with image.

 

Sample Links:

 

C#: How to customize the ControlBox buttons appearance in MetroForm?

VB: How to customize the ControlBox buttons appearance in MetroForm?

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6810 05/11/2016 05/11/2016 Windows Forms MetroForm
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.