Gets or sets a value indicating whether to show a close button in the header of this tab page.
Namespace: MindFusion.Common.UI
File: TabPage.js
JavaScript Copy Code |
---|
get allowClose() {} |
Boolean. true to show a close button, otherwise false.
The following code creates a new TabControl and adds a new TabPage that cannot be closed to its tabs collection.
JavaScript Copy Code |
---|
var tab = new ui.TabPage("«"); tabControl.tabs.add(tab); |