ArcObjects Library Reference (Controls)  

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

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.

See Also

IToolbarControl Interface

.NET Snippets

Customize ToolbarControl