ArcObjects Library Reference (Controls)  

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

Parameters

pVal [out, retval]   pVal is a parameter of type VARIANT_BOOL pVal [in]   pVal is a parameter of type VARIANT_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