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


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

IToolbarControl2.FillDirection Property

The fill direction of the ToolbarControl background color.

[Visual Basic .NET]
Public Property FillDirection As esriToolbarFillDirection
[C#]
public esriToolbarFillDirection FillDirection {get; set;}
[C++]
HRESULT get_FillDirection(
void
);
[C++]
HRESULT put_FillDirection(
);

Product Availability

Available with ArcGIS Engine.

Description

Returns or sets the fill direction used to shade the background color of the ToolbarControl between the BackColor and FadeColor. By default a horizontal fill direction will be set.

Errors Returned

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

Remarks

The BackColor, FadeColor and FillDirection properties do not affect the visual appearance of the ToolbarControl when Transparent is set to true.

When ThemedDrawing is false the background color of any items on the ToolbarControl is an alpha blend of the BackColor and the Windows System '3D Highlight' color. When ThemedDrawing is true the system controls the background color.

See Also

IToolbarControl2 Interface