KaxTabTabTemplate Property |
Gets or sets the template for displaying the tab.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax [PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual ITemplate TabTemplate { get; set; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public Overridable Property TabTemplate As ITemplate
Get
Set
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
virtual property ITemplate^ TabTemplate {
ITemplate^ get ();
void set (ITemplate^ value);
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
abstract TabTemplate : ITemplate with get, set
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
override TabTemplate : ITemplate with get, set
Property Value
Type:
ITemplateAn object implementing the ITemplateThe default value is a null reference (Nothing in
Visual Basic), which indicates that this property is not set.
To specify common display for all tabs use the
TabTemplate property of the KaxTabControl control.
Examples
The following example demonstrates how to customize the appearance of a specific tab using the
TabTemplate property
<kettic:KaxTabControl ID="KaxTabControl1" runat="server">
<Tabs>
<kettic:KaxTab>
<TabTemplate>
Tab 1 <img src="Images/tabIcon.gif" alt="" />
</TabTemplate>
</kettic:KaxTab>
</Tabs>
</kettic:KaxTabControl>
See Also