ComponentOne SplitContainer for WinForms
SplitContainer Visual Styles
SplitContainer Appearance > SplitContainer Visual Styles

C1SplitContainer provides eight built-in visual styles for the control – System, Office2007Black, Office2007Blue, Office2007Silver, Office2010Black, Office2010Blue, Office2010Silver, and Windows7 - that can be easily applied to the control by setting the VisualStyle property. The visual styles change the appearance of all of the elements of the C1SplitContainer such as the C1SplitterPanel, splitter bar, expander button, and panel header.

There is no built-in Custom visual style in the C1SplitContainer. Any style which doesn't match the predefined styles is considered as Custom. If you want to use a Custom style you should assign custom values to any of the following properties: BackColor, ForeColor, ToolTipGradient, CollapsingAreaColor, CollapsingCueColor, SplitterColor, FixedLineColor, HeaderBackColor, and HeaderForeColor. Then, the value of the VisualStyle property changes automatically to the Custom value. Actually, the VisualStyle property is just an indicator, it's not persistable. The value of this property depends on the other properties (listed above).

To learn how to set the VisualStyle property, see Changing the Visual Style.

The following table illustrates each of the eight built-in visual schemes.

Formatting Appearance
System
Office2007Black
Office2007Blue
Office2007Silver
Office2010Black
Office2010Blue
Office2010Silver
Windows7
See Also