Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions WindowsForms/tabbedmdi/Appearance-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIPackage
documentation: ug
---

# Appearance Settings in Windows Forms TabbedMDI
# Appearance Settings in WinForms TabbedMDI

The variousAppearance Settings for TabbedMDIManager are discussed in this section.
The variousAppearance Settings for WinForms TabbedMDI are discussed in this section.

## Foreground settings

Expand All @@ -30,7 +30,7 @@ Property table
<table>
<tr>
<th>
TabbedMDIManager property</th><th>
WinForms TabbedMDI property</th><th>
Description</th></tr>
<tr>
<td>
Expand Down Expand Up @@ -80,7 +80,7 @@ Me.TabbedMDIManager1.ImageSize = New System.Drawing.Size(20, 20)

## Applying themes

The TabbedMDIManager Control can be themed by enabling the ThemesEnabled property.
The WinForms TabbedMDI Control can be themed by enabling the ThemesEnabled property.

{% tabs %}

Expand All @@ -102,7 +102,7 @@ Me.tabbedMDIManager1.ThemesEnabled = True

## Customization

TabbedMDIManager provides complete support for customizing the active and inactive tabs back color, fore color, and font.
WinForms TabbedMDI provides complete support for customizing the active and inactive tabs back color, fore color, and font.

### ActiveTabBackColor

Expand Down
8 changes: 4 additions & 4 deletions WindowsForms/tabbedmdi/Button-Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ control: TabbedMDIManager
documentation: ug
---

# Button Settings in Windows Forms TabbedMDI
# Button Settings in WinForms TabbedMDI

This section discusses about the various buttons available in TabbedMDIManager control and their customization.
This section discusses about the various buttons available in WinForms TabbedMDI control and their customization.

## Drop-down button

The MDIChild windows in a TabbedMDI window can be displayed in the form of a drop-down by enabling the [DropDownButtonVisible](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_DropDownButtonVisible) property.
The MDIChild windows in a WinForms TabbedMDI window can be displayed in the form of a drop-down by enabling the [DropDownButtonVisible](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_DropDownButtonVisible) property.

{% tabs %}

Expand Down Expand Up @@ -196,7 +196,7 @@ Me.tabbedMDIManager.CloseOnMiddleButtonClick = True

## Support to show or hide close button for individual tabs

Essential<sup>®</sup> Tools for Windows Forms now provides support to show or hide close button of the individual tabs in TabbedMDI Manager.
Essential<sup>®</sup> Tools for Windows Forms now provides support to show or hide close button of the individual tabs in WinForms TabbedMDI.

### Use case scenarios

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIManager
documentation: ug
---

# Customize Tab Distance in Windows Forms TabbedMDI
# Customize Tab Distance in WinForms TabbedMDI

The height between the Tab and the Control can be set using the [BottomBorderHeight](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabHost.html#Syncfusion_Windows_Forms_Tools_TabHost_BottomBorderHeight) property of the TabHost. This property can be accessed by overriding the TabbedMDIManager as shown in the code snippet.
The height between the Tab and the Control can be set using the [BottomBorderHeight](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabHost.html#Syncfusion_Windows_Forms_Tools_TabHost_BottomBorderHeight) property of the TabHost. This property can be accessed by overriding the WinForms TabbedMDI as shown in the code snippet.

![Customize the distance between the Tab and the Control](Customize-the-Distance-between-the-Tab-and-the-Con_images/Customize-the-Distance-between-the-Tab-and-the-Con_img1.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Freeze HubTile Functionality in TabbedMDI
# How to Freeze HubTile Functionality in WinForms TabbedMDI

You can achieve it by setting HubTileFreeze property to `true`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Add HubTile using Code Example in TabbedMDI
# How to Add HubTile using Code Example in WinForms TabbedMDI

The following section guides you through the steps involved in setting up a simple HubTile layout design through code.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Add ImageCollection to HubTile in TabbedMDI
# How to Add ImageCollection to HubTile in WinForms TabbedMDI

You can achieve this requirement using HubTileImageList and ImageListAdv properties.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Add MDI Child from Another MDI Child in TabbedMDI
# How to Add MDI Child from Another MDI Child in WinForms TabbedMDI

You should set the [MDIParent](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_MdiParent) of the new child form as follows:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Add Different Icons to MDI Tabs in TabbedMDI
# How to Add Different Icons to MDI Tabs in WinForms TabbedMDI

This can be done programmatically using the below code snippet.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Apply Office2007 Themes in TabbedMDI
# How to Apply Office2007 Themes in WinForms TabbedMDI

You can apply [Office2007ColorScheme](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_Office2007ColorScheme) when TabControl is added as follows.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIManager
documentation: ug
---

# How to Arrange Tab Groups Equally in TabbedMDI
# How to Arrange Tab Groups Equally in WinForms TabbedMDI

TabbedMDIManager has [AdjustTabGroupWeightsEqually](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_AdjustTabGroupWeightsEqually) method to arrange the Tab groups equally.
WinForms TabbedMDI has [AdjustTabGroupWeightsEqually](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_AdjustTabGroupWeightsEqually) method to arrange the Tab groups equally.

Method table

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Browse MDI Children in Windows Forms TabbedMDI
# How to Browse MDI Children in Windows Forms WinForms TabbedMDI

You should not use the MDIContainer form’s [MDIChildren](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_MdiChildren) property to browse through the MDIChildren. This is because the TabbedMDI Framework introduces some additional MDIChildren into your MDIContainer that are not part of your application logic.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Change MDI Tab Size in TabbedMDI
# How to Change MDI Tab Size in WinForms TabbedMDI

You should handle theTabControlAdded event handler and use [ItemSize](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_ItemSize) property to change the tab size.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Change Backcolor of Tabs in TabbedMDI
# How to Change Backcolor of Tabs in WinForms TabbedMDI

You can change the tab back color for active tabs and inactive tabs using [ActiveTabColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_ActiveTabColor) and [InactiveTabColor](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_InactiveTabColor) properties. The following code snippet illustrates this.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Customize Close Button in TabbedMDI
# How to Customize Close Button in WinForms TabbedMDI

This can be achieved by deriving TabbedGroupMDIManager class and overriding [GetCloseButtonBounds](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.MDITabPanel.html#Syncfusion_Windows_Forms_Tools_MDITabPanel_GetCloseButtonBounds) method as follows.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIManager
documentation: ug
---

# How to Customize Fonts of Tabs in TabbedMDI
# How to Customize Fonts of Tabs in WinForms TabbedMDI

Using the [TabControlAdded](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html) event, the fonts of active and inactive tabs can be customized.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: TabbedMDIPackage
documentation: ug
---

# How to Enable or Disable HubTile Rotation in TabbedMDI
# How to Enable or Disable HubTile Rotation in WinForms TabbedMDI

You can achieve it by setting HubTileTileType property as DefaultType, so that rotation transition will be disabled.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIManager
documentation: ug
---

# How to Lock and Unlock MDI Clients in TabbedMDI
# How to Lock and Unlock MDI Clients in WinForms TabbedMDI

TabbedMDIManager has [LockMDIClientUpdate](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_LockMDIClientUpdate) and [UnLockMDIClientUpdate](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_UnLockMDIClientUpdate) methods to lock and unlock the MDIClients from updating.
WinForms TabbedMDI has [LockMDIClientUpdate](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_LockMDIClientUpdate) and [UnLockMDIClientUpdate](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html#Syncfusion_Windows_Forms_Tools_TabbedMDIManager_UnLockMDIClientUpdate) methods to lock and unlock the MDIClients from updating.

Methods table

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIManager
documentation: ug
---

# How to Prevent Reordering of Tab Pages in TabbedMDI
# How to Prevent Reordering of Tab Pages in WinForms TabbedMDI

The reordering of tab pages can be prevented by implementing the below code snippet. For this derive a class from TabbedMDIManager and override the MDITabPanel property and set the [UserMoveTabs](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_UserMoveTabs) property of MDITabPanel to `true`.
The reordering of tab pages can be prevented by implementing the below code snippet. For this derive a class from WinForms TabbedMDI and override the MDITabPanel property and set the [UserMoveTabs](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html#Syncfusion_Windows_Forms_Tools_TabControlAdv_UserMoveTabs) property of MDITabPanel to `true`.

{% tabs %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ control: TabbedMDIManager
documentation: ug
---

# How to Remove Context Menu for a Tab in TabbedMDI
# How to Remove Context Menu for a Tab in WinForms TabbedMDI

This can be achieved by handling the BeforePopup event of TabbedMDIManager.ContextMenuItem. Before that we should know which tab is currently active. To keep track of this, SelectedIndexChanged event of MDITabPanel can be used.

First handle the [TabControlAdded](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html) event of TabbedMDIManager. Then subscribe to the args.TabControl.SelectedIndexChanged event (where args is the argument passed into this event). In the [SelectedIndexChanged](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html) event handler, store the SelectedTab in a variable which is accessible by all the methods inside that class. In the BeforePopup event, check for the TabPageAdv and cancel the context menu by setting e.Cancel = `true`.
First handle the [TabControlAdded](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabbedMDIManager.html) event of WinForms TabbedMDI. Then subscribe to the args.TabControl.SelectedIndexChanged event (where args is the argument passed into this event). In the [SelectedIndexChanged](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html) event handler, store the SelectedTab in a variable which is accessible by all the methods inside that class. In the BeforePopup event, check for the TabPageAdv and cancel the context menu by setting e.Cancel = `true`.

In this example, we are going to remove context menu for the pages which are having the text as 'New Document'.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: TabbedMDIPackage
documentation: ug
---

# How to fix MDIChild Icon in Windows Forms TabbedMDI
# How to fix MDIChild Icon in Windows Forms WinForms TabbedMDI

The form does not throw an event when the Icon gets updated. So, update the Icon in the TabbedMDIManager manually after updating the Icon in the form, as follows:
The form does not throw an event when the Icon gets updated. So, update the Icon in the WinForms TabbedMDI manually after updating the Icon in the form, as follows:

{% tabs %}

Expand Down
Loading