ArcObjects Library Reference (Controls)  

ICustomizeDialog.ShowAddFromFile Property

Indicates if the 'Add From File' button is available on the customize dialog.

[Visual Basic .NET]
Public Property ShowAddFromFile As Boolean
[C#]
public bool ShowAddFromFile {get; set;}
[C++]
HRESULT get_ShowAddFromFile(
  VARIANT_BOOL* pVal
);
[C++]
HRESULT put_ShowAddFromFile(
  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 the CustomizeDialog has an 'Add From File..' button. Clicking this button enables users to browse and select *.dll and *.tlb files containing objects that implement ICommand, IMenuDef, IPaletteDef and IToolbarDef. The selected *.dll or *.tlb will be registered and the objects registered in the appropriate CommandsCategory, MenusCategory, PalettesCategory and ToolbarsCategory component categories. This property is true by default.

See Also

ICustomizeDialog Interface

.NET Snippets

Customize ToolbarControl

.NET Samples

Building a MapViewer application using the ArcGIS Engine controls (Code Files: MapViewer)