TechTalk Genome v4.2

TabView Class

Represents a control that renders a group of Tab controls.

For a list of all members of this type, see TabView Members.

System.Object
   Control
      TabView

[AspNetHostingPermission(Level="Minimal", Action="InheritanceDemand", Unrestricted="False")]
[AspNetHostingPermission(Level="Minimal", Action="LinkDemand", Unrestricted="False")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.WebControls.MultiViewDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ParseChildren(ChildControlType="TechTalk.Genome.Extensions.Web.UI.Controls.Tab", ChildrenAsProperties="False", )]
[ToolboxData(Data="<{0}:TabView runat="server"></{0}:TabView>")]
[ControlBuilder(BuilderType="System.Web.UI.WebControls.MultiViewControlBuilder")]
[DefaultEvent(Name="ActiveViewChanged")]
[DesignerSerializer(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItem(ToolboxItemType="System.Web.UI.Design.WebControlToolboxItem", ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Bindable(Bindable="True", Direction="OneWay")]
[DefaultProperty(Name="ID")]
[DesignerCategory(Category="Code")]
[Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter(FilterString="System.Web.UI", FilterType="Require")]
[Themeable(Themeable="False")]
public class TabView : Control

Remarks

The TabView control renders a tabbed panel where the content of each tab is encapsulated in a Tab control. The value of the ActiveViewIndex property specifies which Tab is currently visible for the user.

Example

In the following sample, two tabs are displayed and the content of the first tab is visible by default. The user can activate another tab by clicking the title of the tab.

          
  <genomeControls:TabView ID="TabView" runat="server" ActiveViewIndex="0">
    <genomeControls:Tab ID="Tab1" runat="server" Title="First Tab">

      <%-- This is arbitrary content that is visible when the first tab is active. --%>
    
    </genomeControls:Tab>
  
    <genomeControls:Tab ID="Tab2" runat="server" Title="Second Tab">

      <%-- This is arbitrary content that is visible when the second tab is active. --%>

    </genomeControls:Tab>
  
  </genomeControls:TabView>

        

Requirements

Namespace: TechTalk.Genome.Extensions.Web.UI.Controls

Assembly: TechTalk.Genome.Extensions.Web (in TechTalk.Genome.Extensions.Web.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

TabView Members | TechTalk.Genome.Extensions.Web.UI.Controls Namespace