共用方式為


DialogContainerWithToolbar.ToolbarDropTarget Property

A target that allows intercepting drag and drop operations on the toolbar.

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
If the tool window has a toolbar, this property allows intercepting drag and drop operations on the toolbar. Otherwise this is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

Microsoft.VisualStudio.Shell Namespace