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

Hide or Remove Currency Manager from TabControlAdv

Thread ID:





73389 May 5,2008 02:38 PM UTC May 29,2008 09:51 PM UTC WinForms 2
Tags: GridControl
Alex Maldonado
Asked On May 5, 2008 02:38 PM UTC

How do I remove or hide the dotted rectangle around the tab's header text. I guess thats call the Currency Manager?

Control: TabControlAdv

-- Alex

J.Nagarajan [Syncfusion]
Replied On May 23, 2008 06:26 PM UTC

Hi Alex ,

Thanks for your interest in Syncfusion products.

If your intention is to hide the dotted rectangle around the tab header, then you have to handle DrawItem event of the TabControlAdv. Please use the following code snippet.

this.tabControlAdv1.DrawItem += new DrawTabEventHandler(tabControlAdv1_DrawItem);

void tabControlAdv1_DrawItem(object sender, DrawTabEventArgs drawItemInfo)
// To indicate that the tab gets drawn as if it’s not focused (without the focus rect).
drawItemInfo.State &= ~DrawItemState.Focus;

// Then forward drawing to default drawing logic.

Please let me know if this helps.

Thanks ,

Alex Maldonado
Replied On May 29, 2008 09:51 PM UTC

Thanks that work.
ps. I had to also add drawItemInfo.DrawBorders() for to make it look better.

-- Alex


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