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


IConstructionMiniBar Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IC > IConstructionMiniBar Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Editor)  

IConstructionMiniBar Interface

Provides access to controlling the construction minibar.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Write-only property Active Activate/Deactivate the Construction Minibar.
Method Hide Hides the construction minibar.
Read-only property IsVisible Indicates whether the construction minibar is visible.
Method ProcessKeyDown Processes keyboard input.
Method Show Shows the construction minibar.
Method UpdateTransparency Updates the coordinate display and adjusts the tranparency of the window.

CoClasses that implement IConstructionMiniBar

CoClasses and Classes Description
ConstructionMiniBar An editor extension for working with the feature construction mini toobar

Remarks

Use IEditor::FindExtension to access the ConstructionMiniBar. This is also known as the Feature Construction Mini Toolbar.

Use the code below to get a reference to the ConstructionMiniBar.

[C#]

public void GetFeatureConstructionMiniBarExtensionByCLSID()
{
  //If your project is an Add-In you are given the Application. Otherwise you can get the app from the
  //hook parameter.
  UID editorUID=new UIDClass();
  editorUID.Value="esriEditor.Editor";
  _Editor=ArcMap.Application.FindExtensionByCLSID(editorUID) as IEditor;
  UID extUID=new UIDClass();
  extUID.Value="esriEditor.ConstructionMiniBar";
  IConstructionMiniBar featConstructionMiniBar=_Editor.FindExtension(extUID) as IConstructionMiniBar;
}

[Visual Basic .NET]

Public Sub GetFeatureConstructionMiniBarExtensionByCLSID()
  Dim eUID As UID=New UIDClass()
  eUID.Value="esriEditor.Editor"

  'This Code would be used in an Add-in, if the project is not an add-in the Application object can be obtained 'from the hook parameter.
  _Editor=TryCast(My.ArcMap.Application.FindExtensionByCLSID(eUID), IEditor)
  Dim extUID As UID=New UIDClass()
  extUID.Value="esriEditor.ConstructionMiniBar"
  Dim featureConstructionMiniBar As IConstructionMiniBar=TryCast(_Editor.FindExtension(extUID), IConstructionMiniBar)
End Sub