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.
Is it possible to have a Close-button at the upper right corner next to ScrollButtons? (Just like it's done in VS.NET and when using the TabbedMDIManager).
Also, is there a way to have the ScrollButtons shown all the time, being disabled if there isn't enough tabs...
Kenneth
RPRamesh Praveen Syncfusion Team March 28, 2003 12:32 PM UTC
Kenneth,
You can make the scroll button visible all the time, by subclassing the TabControlExt and overriding this method, as follows:
protected override void AdjustScrollButtonDimensions(ref RectangleF tabPanelBounds, bool scrollNeeded)
{
if(this.ScrollButtons == null && !this.Multiline)
InitScrollButtons();
// Second arg should be true all the time. base.AdjustScrollButtonDimensions(ref tabPanelBounds, true);
}
We do not have built-in support for a close button in the tab control. I will make this a feature request. If you are interested, you can look at our custom tab control implementation used in our tabbed mdi layout in the file Tools\src\FrameworkComponents\TabbedMDI\MDITabPanel, to get some hints on how to implement this yourself.
Regards,
Praveen Ramesh
RPRamesh Praveen Syncfusion Team March 28, 2003 12:33 PM UTC
Another, approach is to simply place a button over the tab control at the right position.
Regards,
Praveen Ramesh