System.Windows.Forms.ToolBarTextAlign Enumeration

Specifies the alignment of text on the toolbar button control.

Syntax

public enum ToolBarTextAlign

Remarks

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

Room is reserved for an image to be displayed on toolbar buttons. The alignment of text is in relation to the image displayed on the toolbar button. If no image is assigned to the button, the reserved space will appear to the left, or above the text displayed.

Members

Member NameDescription
Right

The text is aligned to the right of the toolbar button image.

Underneath

The text is aligned underneath the toolbar button image.

Requirements

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