次の方法で共有


ToolWindowPane.ToolBarDropTarget Property

Gets or sets the toolbar drop target.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Public Property ToolBarDropTarget As IDropTarget
public IDropTarget ToolBarDropTarget { get; set; }

Property Value

Type: Microsoft.VisualStudio.OLE.Interop.IDropTarget
The drop target, if the window has a toolbar, otherwise nulla null reference (Nothing in Visual Basic).

Remarks

The drop target allows intercepting drag and drop operations on the toolbar.

.NET Framework Security

See Also

Reference

ToolWindowPane Class

Microsoft.VisualStudio.Shell Namespace