Raised when a tab header is clicked.
Namespace: MindFusion.Common.UI
File: TabControl.js
JavaScript
![]() |
---|
EventDispatcher tabHeaderClick |
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 ItemEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
The following code creates a new instance of the TabControl class using a reference to an HTMLElement called tabcontrol. It handles the tabHeaderClick event:
JavaScript
![]() |
---|
// create a new instance of the TabControl control ........................... function handleTabHeaderClick(sender, args) |