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


IToolbarBuddy.CurrentTool Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IToolbarBuddy.CurrentTool Property

Current active tool for the buddy.

[Visual Basic .NET]
Public Property CurrentTool As ITool
[C#]
public ITool CurrentTool {get; set;}
[C++]
HRESULT get_CurrentTool(
  ITool** pTool
);
[C++]
HRESULT putref_CurrentTool(
  ITool* pTool
);
[C++]

Parameters pTool [out, retval]
pTool is a parameter of type ITool pTool [in]
pTool is a parameter of type ITool

Product Availability

Available with ArcGIS Engine.

Description

The CurrentTool is the tool used to interact with the display area of the  IToolbarControl::Buddy. The IToolbarBuddy references this tool so that it can:

See Also

IToolbarBuddy Interface