ArcObjects Library Reference (Controls)  

IToolbarPalette.Customize Property

Indicates if the ToolbarPalette is in customize mode.

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

Parameters

newVal [out, retval]   newVal is a parameter of type VARIANT_BOOL newVal [in]   newVal is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

Determines whether a ToolbarPalette is in customize mode at run time. The behavior of the ToolbarPalette changes when in customize mode. This property is false by default.

If the ToolbarPalette has also been added to the ToolbarControl, the ToolbarControl will override the Customize property with the IToolbarControl::Customize property, before the ToolbarPalette is displayed with the IToolbarPalette::PopupPalette method.

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

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 IToolbarItem::Style, IToolbarItem::Group or IToolbarItem::GroupSpacing properties.

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

See Also

IToolbarPalette Interface