How to arrange the Tab groups equally using TabbedMDIManager
3 Sep 2020 / 1 minute to read
TabbedMDIManager has AdjustTabGroupWeightsEqually method to arrange the Tab groups equally.
Method table
Method | Description |
---|---|
AdjustTabGroupWeightsEqually | Adjusts the TabGroups weights equally |
private void AddGroupButton_click(object sender, EventArgs e)
{
this.tabbedMDIManager.TabbedGroups.Add(new TabbedGroup("TabGroup2"));
ChildForm f = new ChildForm();
this.tabbedMDIManager.TabbedGroups["TabGroup2"].AddForm(f);
this.tabbedMDIManager.AdjustTabGroupWeightsEqually();
}
Private Sub AddGroupButton_click(ByVal sender As Object, ByVal e As EventArgs)
Me.tabbedMDIManager.TabbedGroups.Add(New TabbedGroup("TabGroup2"))
Dim f As ChildForm = New ChildForm()
Me.tabbedMDIManager.TabbedGroups("TabGroup2").AddForm(f)
Me.tabbedMDIManager.AdjustTabGroupWeightsEqually()
End Sub
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page