Intersoft WebDesktop Documentation
AllowClose Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebTab Class : AllowClose Property


Glossary Item Box

Gets or sets a value indicating whether users are allowed to close the Tabs.

Syntax

Visual Basic (Declaration) 
Public Property AllowClose As CloseMode
Visual Basic (Usage)Copy Code
Dim instance As WebTab
Dim value As CloseMode
 
instance.AllowClose = value
 
value = instance.AllowClose
C# 
public CloseMode AllowClose {get; set;}

Remarks

By setting this property to True, you can allow your users to to close a Tab item by clicking on a Close button at right end of the Tab control.

When enabled, a Close control will appear at the right end of the Tab control, after the Scroll arrows if AllowScrolling is enabled. When clicked, it will close the currently Active Tab and activate the nearest tab at the right or left side depend on the which is available.

Requirements

Target Platforms: 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

© 2012 Intersoft Solutions Corp. All Rights Reserved.