This document is archived and information here might be outdated. Recommended version. |
Indicates if the ToolbarControl displays menu and palette items aligned to the left or right.
[Visual Basic .NET] Public Property AlignLeft As Boolean
[C#] public bool AlignLeft {get; set;}
[C++]
HRESULT get_AlignLeft(
void
);
[C++]
HRESULT put_AlignLeft(
);
Determines whether ToolbarMenu and ToolbarPalette items (and any sub menus they contain) on the ToolbarControl popup in a position aligned to the left of the ToolbarControl. This property is true by default.
If a ToolbarMenu or ToolbarPalette is to popup in a position so close to edge of a screen display, that it will not be fully visible, the AlignLeft property will be ignored. The ToolbarMenu or ToolbarPalette will popup aligned in a direction that will ensure it is fully visible.
AlignLeft does not affect the alignment of an ICommand::Caption, IToolbarMenu::Caption or IToolbarPalette::Caption displayed on a ToolbarItem. In order to change the direction text is displayed the RTL (right to left) display environment variable need changing. The AlignLeft property will override any RTL (right to left) display environment variables that affect the position of drop downs.