System.Windows.Forms.ToolBarAppearance Enumeration

Specifies the type of toolbar to display.

Syntax

public enum ToolBarAppearance

Remarks

This enumeration is used by members such as ToolBar.Appearance.

Set the ToolBar.Appearance property of the toolbar to ToolBarAppearance.Flat to give the toolbar and its buttons a flat appearance. As the mouse pointer moves over the buttons, their appearance changes to three-dimensional. Button separators appear as lines rather than spaces between the buttons when the toolbar has a flat appearance.

Members

Member NameDescription
Flat

The toolbar and buttons appear flat, but the buttons change to three-dimensional as the mouse pointer moves over them.

Normal

The toolbar and buttons appear as standard three-dimensional controls.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0