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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add Controls to the Captionbar of Metroform (Metroform customization)

Thread ID:

Created:

Updated:

Platform:

Replies:

142380 Jan 30,2019 11:26 AM UTC Jan 31,2019 12:00 PM UTC WinForms 3
loading
Tags: MetroForm
Hans-Georg
Asked On January 30, 2019 11:26 AM UTC

Does someone know how to get controls into the captionbar of a Metroform (like Captionlabels and Captionimages)?
Panel.Controls.Add(titleLabel)
Panel.Controls.Add(Button)
Panel.Controls.Add(searchBox)
me.captionlabels.add(panel) is not possible. What can I do?

Jagadeesan Pichaimuthu [Syncfusion]
Replied On January 30, 2019 12:15 PM UTC

Hi Hans-Georg, 

Thanks for using Syncfusion product. 

We have checked your requirement to add the control into the caption bar. We regret to inform that currently we don’t provide support to add the controls into caption bar, because the CaptionLabels is not allow to add controls inside that. But you can able to customize the CaptionLabels with text and mouse events, please refer the below forum link, 


Note 
But the SfForm(https://help.syncfusion.com/windowsforms/sfform/overview) allows you to load any user control into the title bar instead of title bar text by using the TitleBarTextControl property. 


Let us know whether this helps also if you need any further assistance on this. 

Regards, 
Jagadeesan 


Hans-Georg
Replied On January 31, 2019 11:24 AM UTC

Thank you for assistance. SfForm is what I need, I did not notice it before.

Jagadeesan Pichaimuthu [Syncfusion]
Replied On January 31, 2019 12:00 PM UTC

Hi Hans-Georg, 
 
Thanks for your update.  
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
Jagadeesan 


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.

Please sign in to access our forum

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

Live Chat Icon For mobile
Live Chat Icon