ArcObjects Library Reference (Controls)  

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(
  esriToolbarFillDirection* pVal
);
[C++]
HRESULT put_FillDirection(
  esriToolbarFillDirection pVal
);
[C++]

Parameters

pVal [out, retval]

  pVal is a parameter of type esriToolbarFillDirection

pVal [in]

  pVal is a parameter of type esriToolbarFillDirection

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