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


IToolbarControlDefault.Orientation 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.Orientation Property
ArcGIS Developer Help

IToolbarControlDefault.Orientation Property

Indicates if the ToolbarControl is horizontally or vertically aligned.

[Visual Basic .NET]
Public Property Orientation As esriToolbarOrientation
[C#]
public esriToolbarOrientation Orientation {get; set;}
[C++]
HRESULT get_Orientation(
void
);
[C++]
HRESULT put_Orientation(
);

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets the orientation of a ToolbarControl. By default the orientation is horizontal.

Errors Returned

1005 800a03ed: The value of a parameter which is an enumerated constant is out of the range of required values

Remarks

When a ToolControl is added to a ToolbarControl with a vertical orientation, the ToolControl displays as a button. Clicking the button displays the ToolControl in a seperate window. The ToolControl window can be closed interactively by the end user, or programmatically using the ICompletionNotify::SetComplete method.

See Also

IToolbarControlDefault Interface