Delen via


ToolWindowPane.ToolBarDropTarget Property

Gets or sets the toolbar drop target.

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

Syntax

'Declaration
Public Property ToolBarDropTarget As IDropTarget
public IDropTarget ToolBarDropTarget { get; set; }
public:
property IDropTarget^ ToolBarDropTarget {
    IDropTarget^ get ();
    void set (IDropTarget^ value);
}
member ToolBarDropTarget : IDropTarget with get, set
function get ToolBarDropTarget () : IDropTarget 
function set ToolBarDropTarget (value : IDropTarget)

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