This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarMenu2 Interface > IToolbarMenu2.ThemedDrawing Property (ArcObjects .NET 10.4 SDK) |
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
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.