Reputation: 4539
How can I configure the UltraTabControl to make sure that the Tab Header's fill the available space?
I have the below code that generates the following form:
namespace StretchThoseTabs
{
using Infragistics.Win.UltraWinTabControl;
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.ultraTabControl2.Tabs.AddRange(new UltraTab[]
{
new UltraTab(false) {Text = "General"},
new UltraTab(false) {Text = "Advanced Options"}
});
}
}
}
Upvotes: 0
Views: 373
Reputation: 216303
Use the TabLayoutStyle
property.
you could set it to various options, for example the one required could be:
tabCtrl1.TabLayoutStyle = TabLayoutStyle.SingleRowSizeToFit;
Upvotes: 3