Skip to content

Color Property

Description

Gets/Sets the color style of the tabs.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Color() As [XTPTabColorStyle](XtremeCommandBars~Enumerations~XTPTabColorStyle_EN.md)

Remarks

The TabControl allows you to fully customize the appearance of your TabControl tabs by applying color styles. There are several pre-defined color styles you can choose from. Color styles can be used with Appearance styles to give your application a unique professional look. For example, your tabs can have a Visual Studio appearance using Office 2003 colors.

Example

' This sample code illustrates how to change the tab appearance to look like Visual Studio style tabs using the Office 2003 color scheme.

TabControl.PaintManager.Appearance = xtpTabAppearanceVisualStudio
TabControl.PaintManager.Color = xtpTabColorOffice2003

See Also

TabPaintManager Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.