Intersoft ClientUI Documentation
UXTabItem Class
Members 



Represents a tab item that consists of tab header and tab page.
Object Model
UXTabItem ClassISFramework Class
Syntax
Remarks

The item container type of UXTabControl is UXTabItem, which derives from ISHeaderedSelectionItemControl class. This means that UXTabItem is designed to host two major content elements: a header and a content. UXTabItem also supports selection architecture for automatic synchronization with UXTabControl. To learn more about content model architecture in ClientUI controls, see Content Model Overview.

In addition, UXTabItem also supports ImageContent model, allowing you to easily add an image in the tab header, configure the image size, as well as customizing the text and image relation. UXTabItem provides the following properties to support ImageContent model:

The following example shows how to add an icon to the header of the tab pages for more compelling user interface.

XAML
Copy Code
<Intersoft:UXTabControl Width="400" Height="200">
    <Intersoft:UXTabItem Header="Address">
        <Grid>
            <TextBlock Text="Address Content" VerticalAlignment="Center" HorizontalAlignment="Center"/>
        </Grid>
    </Intersoft:UXTabItem>
    <Intersoft:UXTabItem Header="Contact History">
        <Grid>
            <TextBlock Text="Contact History Content" VerticalAlignment="Center" HorizontalAlignment="Center"/>
        </Grid>
    </Intersoft:UXTabItem>
    <Intersoft:UXTabItem Header="Sales Information">
        <Grid>
            <TextBlock Text="Sales Information Content" VerticalAlignment="Center" HorizontalAlignment="Center"/>
        </Grid>
    </Intersoft:UXTabItem>
</Intersoft:UXTabControl>

The results look like the following illustration.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.Framework.ISHeaderedContentControl
                        Intersoft.Client.Framework.ISHeaderedSelectionItemControl
                           Intersoft.Client.UI.Navigation.UXTabItem

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXTabItem Members
Intersoft.Client.UI.Navigation Namespace

Send Feedback