Search
TabPage.header Property
See Also
 






Gets a reference to the tab page header.

Namespace: MindFusion.Common.UI
File: TabPage.js

 Syntax

JavaScript  Copy Code

get header() {}

 Property Value

A ToolStripItem instance.

 Example

The following code creates a new TabControl and adds a new TabPage to its tabs collection. The new tab page gets customized through its header property.

JavaScript  Copy Code

var tab = new ui.TabPage("«");
tab.header.size = new ui.Unit(20);
tab.header.interactive = false;
tab.header.tooltip = "Previous Tab";
tab.data = -1;
tab.navigateUrl = "products.html";
tab.header.cssClass = "tab-back";

tabControl.tabs.add(tab);

 See Also