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


IToolbarControl2.Customize 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.Customize Property
ArcGIS Developer Help

IToolbarControl2.Customize Property

Indicates if the ToolbarControl is in customize mode.

[Visual Basic .NET]
Public Property Customize As Boolean
[C#]
public bool Customize {get; set;}
[C++]
HRESULT get_Customize(
void
);
[C++]
HRESULT put_Customize(
);

Product Availability

Available with ArcGIS Engine.

Description

Use this property to determine whether the ToolbarControl is in customize mode at run time. This property is false by default. The behaviour of ToolbarControl changes when in customize mode. 

Use the left mouse button to select an item on the ToolbarControl. Either drag the selected item to a new position on the ToolbarControl as indicated by the black verticle line, or drag and drop the item off the ToolbarControl to remove it.

Use the right mouse button to select an item and display the customize menu. Use the customize menu to either delete the item or set its Style, Group or GroupSpacing properties.

If the CustomizeDialog is displayed on the screen whilst the ToolbarControl is in customize mode, new items can be added to the ToolbarControl by either double clicking on an item in the CustomizeDialog or by dragging and dropping an item from the CustomizeDialog to the ToolbarControl.

Remarks


[C#]
[C++]
[Visual Basic .NET]

See Also

IToolbarControl2 Interface