Raised when the page's content is loaded.
Namespace: MindFusion.Common.UI
File: TabPage.js
JavaScript Copy Code |
---|
EventDispatcher contentLoad |
The 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.
The 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) |