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 get rid of MetroForm minimum CaptionBarHeight?

Thread ID:

Created:

Updated:

Platform:

Replies:

128037 Dec 28,2016 03:05 AM Jan 2,2017 07:43 AM Windows Forms 1
loading
Tags: MetroForm
Heinz Kessler
Asked On December 28, 2016 03:05 AM

I am trying to reduce the height of the caption bar of a MetroForm, but it seems to ignore all values of CaptionBarHeight below 26.
I tried to remove everything that could lead to such a minimum height, like control box, icon, etc. and gave it a small caption text font, but without luck.
Such a minimum height would make MetroForm useless where a tool window is intended.

Did I oversee anything? Is there a way to make the caption height any smaller?

Thanks,
Heinz

Vijayalakshmi Roopkumar [Syncfusion]
Replied On January 2, 2017 07:43 AM

Hi Heinz,

Thank you for contacting Syncfusion Support.

MetroForm control is inherited from Microsoft Form. In MetroForm, Microsoft Form Title Bar portion has been Custom drawn with Metro Application like Flat layout. So its Caption Height will be maintained as defined in Base Microsoft Form and cannot be reduced further.

Regards,
Vijayalakshmi V.R.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;