Version

AllowClose Property (MdiTabSettingsResolved)

Readonly. Indicates whether the MdiTab may be closed.
Syntax
'Declaration
 
Public ReadOnly Property AllowClose As Boolean
public bool AllowClose {get;}
Remarks

An MdiTab can be closed 2 ways using the user interface of the UltraTabbedMdiManager. One way is using the close button (appears as an "X" in the MdiTabGroup) and the other is via the context menu displayed when right clicking on a tab. The close button displayed in the MdiTabGroup may be hidden by setting the MdiTabGroupSettings.ShowCloseButton to false but the option in the context menu will still be available. If the AllowClose resolves to false (true is the default value) the option in the context menu will not be displayed and the close button (if displayed) will be disabled when the tab is the selected tab. Regardless of the AllowClose setting, the tab may be closed using the MdiTab.Close method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also