Raised when the page's content is loaded.
Namespace: MindFusion.Common.UI
File: TabPage.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher contentLoad |
Event DataThe event handler method receives the following arguments:
sender
A TabPage instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An EventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code creates a new TabControl, adds a new TabPage to it and handles its contentLoad event:
JavaScript
Copy Code
|
|---|
// create a new instance of the TabControl control var tab = new ui.TabPage("«"); tab.contentLoad.addEventListener(handleContentLoad); tabControl.tabs.add(tab); function handleContentLoad(sender, args) |
See Also