ComponentOne Menus and Toolbars for WinForms
DockingTab Overview / DockingTab Appearance and Behavior Properties / Tab Styles
In This Topic
    Tab Styles
    In This Topic

    C1DockingTab provides several built-in styles such as Custom, System, Office2007Blue, Office2010Blue, Office2010Black, Office2010Silver,  Office2007Black, Office2007Silver, Office2003Blue, Office2003Olive, Office2003Silver, and Classic that can be easily applied using the VisualStyle property.

    C1DockingTab provides several built-in styles such as Classic, Default, Office2003, Office2007, Office2010, Rounded, Sloping that can be easily applied using the TabStyle property. You could also choose what type of look you would like for your tab pages. For example, you may want the tab pages to display and image, text, or a combination of both. You can do this by setting the TabLook property to Default, Text, Image or TextandImage.

    You could also customize your tab's style using C1DockingTab's general appearance properties such as the C1DockingTab.BackgroundImage, C1DockingTab.BackgroundImageLayout, TabAreaBackColor, TabBackColor, TabBackColorSelected, and TabForeColorSelected.

    The following figure illustrates a few of C1DockingTab's general appearance properties:

    Figure 1


    Labelled docking tab
    Labels for Figure 1 Description
    1 PictureBox control
    2 Label control
    3 C1DockingTabPage.CaptionText
    4 RichTextBox control
    5 C1DockingTabPage.TabBackColorSelected = PaleTurquoise
    6 C1DockingTabPage.Image
    7 C1DockingTabPage.TabBackColor = MistyRose
    8 C1DockingTab.BackGroundImage
    This feature is available only in .NET Framework.
    See Also