Represents an item which can be templated.
Namespace: MindFusion.Common.UI
File: TemplatedItem.js
JavaScript Copy Code |
---|
// class |
This is the base class for items that can have a template. Among them are TabPage, ToolStripItem and TreeNode.
The following code creates a new TabPage and sets its template:
JavaScript Copy Code |
---|
var tab = new ui.TabPage("«"); var t = document.createElement("div"); |
MindFusion.Common.UI.TemplatedItem
MindFusion.Common.UI.ListItem