SingleColumnBranchBase.OnDragEvent Method
The default is to show no drag effect.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overridable Sub OnDragEvent ( _
sender As Object, _
row As Integer, _
column As Integer, _
eventType As DragEventType, _
args As DragEventArgs _
)
'Usage
Dim instance As SingleColumnBranchBase
Dim sender As Object
Dim row As Integer
Dim column As Integer
Dim eventType As DragEventType
Dim args As DragEventArgs
instance.OnDragEvent(sender, row, column, _
eventType, args)
public virtual void OnDragEvent(
Object sender,
int row,
int column,
DragEventType eventType,
DragEventArgs args
)
public:
virtual void OnDragEvent(
Object^ sender,
int row,
int column,
DragEventType eventType,
DragEventArgs^ args
)
public function OnDragEvent(
sender : Object,
row : int,
column : int,
eventType : DragEventType,
args : DragEventArgs
)
abstract OnDragEvent :
sender:Object *
row:int *
column:int *
eventType:DragEventType *
args:DragEventArgs -> unit
override OnDragEvent :
sender:Object *
row:int *
column:int *
eventType:DragEventType *
args:DragEventArgs -> unit
Parameters
- sender
Type: System.Object
The object doing the drag
- row
Type: System.Int32
The row in the branch
- column
Type: System.Int32
The column in the row
- eventType
Type: DragEventType
The type of drag event
- args
Type: System.Windows.Forms.DragEventArgs
The drag event arguments
Implements
IBranchOnDragEvent(Object, Int32, Int32, DragEventType, DragEventArgs)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SingleColumnBranchBase Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport Namespace