Udostępnij za pośrednictwem


ToolWindowPane.ToolBarDropTarget Property

Gets or sets the toolbar drop target.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Property ToolBarDropTarget As IDropTarget
[CLSCompliantAttribute(false)]
public IDropTarget ToolBarDropTarget { get; set; }
[CLSCompliantAttribute(false)]
public:
property IDropTarget^ ToolBarDropTarget {
    IDropTarget^ get ();
    void set (IDropTarget^ value);
}
[<CLSCompliantAttribute(false)>]
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