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


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

IToolbarMenu2.ThemedDrawing Property

Indicates if the ToolbarMenu uses themed drawing.

[Visual Basic .NET]
Public Property ThemedDrawing As Boolean
[C#]
public bool ThemedDrawing {get; set;}
[C++]
HRESULT get_ThemedDrawing(
  Boolean* pVal
);
[C++]
HRESULT put_ThemedDrawing(
  VARIANT_BOOL pVal
);
[C++]
Parameters
pVal [out, retval]

pVal is a parameter of type bool* pVal [in]
pVal is a parameter of type bool

Product Availability

Available with ArcGIS Engine.

Description

Determines whether items on the ToolbarMenu display themselves using the current Windows XP theme. This property is false by default, and items display themselves on the ToolbarMenu with the Windows Classic look.

If the ToolbarMenu has also been added to the ToolbarControl, the ToolbarControl will override the ThemedDrawing property with the  IToolbarControl2::ThemedDrawing property, before the ToolbarMenu is displayed with the IToolbarMenu::PopupMenu method.

See Also

IToolbarMenu2 Interface