The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
J.J.Nagarajan Syncfusion Team 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. drawItemInfo.DrawBackground(); drawItemInfo.DrawInterior(); }
Please let me know if this helps.
Thanks , Nagaraj
AMAlex MaldonadoMay 29, 2008 09:51 PM UTC
Thanks that work. ps. I had to also add drawItemInfo.DrawBorders() for to make it look better.