Skip to main content
A newer version of this page is available. .

XtraTabControl.PaintStyleName Property

Gets or sets the name of the paint style applied to the tab control.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue("Default")]
public virtual string PaintStyleName { get; set; }

Property Value

Type Default Description
String "Default"

A String value specifying the name of the paint style applied to the tab control.

Remarks

The PaintStyleName property is used to specify the manner in which the tab control’s page headers, borders and buttons are drawn. The names and appearance of the predefined styles are listed below.

Value Description Image
“Default” The appearance of the tab control’s elements is specified by the look and feel settings provided by the XtraTabControl.LookAndFeel property.
“Standard” The tab control’s elements are painted in the standard manner. XtraTabControl.PaintStyleName_Standard
“PropertyView” The tab control is painted using the scheme introduced in MS Visual Studio 2005. XtraTabControl.PaintStyleName_PropertyView
“Flat” The tab control’s elements are painted flat. XtraTabControl.PaintStyleName_Flat
“Office2003” The tab control is painted using the scheme introduced in MS Office 2003. XtraTabControl.PaintStyleName_Office2003
“WindowsXP” The tab control’s elements are painted using the currently applied XP theme. If the operating system is not Windows XP or the Windows Classic theme is currently used, the tab control is painted using the “Flat” style. XtraTabControl.PaintStyleName_WindowsXP
“Skin” The tab control’s elements are painted using the currently applied skin. XtraTabControl.PaintStyleName_Skin

If the string assigned to the PaintStyleName property doesn’t match any of the strings listed above, the “Default” string will be assigned instead.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PaintStyleName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also