KaxTabControlTabCreated Event |
Occurs when a tab is created.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic event KaxTabControlEventHandler TabCreated
Public Event TabCreated As KaxTabControlEventHandler
public:
event KaxTabControlEventHandler^ TabCreated {
void add (KaxTabControlEventHandler^ value);
void remove (KaxTabControlEventHandler^ value);
}
member TabCreated : IEvent<KaxTabControlEventHandler,
KaxTabControlEventArgs>
Value
Type:
Kettic.AspNet.ControlsKaxTabControlEventHandler
Remarks
The TabCreated event is raised when an tab in the
KaxTabControl control is created,
both during round-trips and at the time data is bound to the control. The TabCreated event is not raised for tabs
which are defined inline in the page or user control.
The TabCreated event is commonly used to initialize tab properties.
Examples
The following example demonstrates how to use the
TabCreated event
to set the
ToolTip property of each tab.
protected void KaxTabControl1_TabCreated(object sender, Kettic.AspNet.Controls.KaxTabControlEventArgs e)
{
e.Tab.ToolTip = e.Tab.Text;
}
Sub KaxTabControl1_TabCreated(ByVal sender As Object, ByVal e As Kettic.AspNet.Controls.KaxTabControlEventArgs) Handles KaxTabControl1.TabCreated
e.Tab.ToolTip = e.Tab.Text
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also