This document is archived and information here might be outdated.  Recommended version.


IToolbarControlDefault.AlignLeft Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControlDefault Interface > IToolbarControlDefault.AlignLeft Property
ArcGIS Developer Help

IToolbarControlDefault.AlignLeft Property

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(
);

Product Availability

Available with ArcGIS Engine.

Description

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.

Remarks

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.

See Also

IToolbarControlDefault Interface