Class DropItemEventArgs
Represents the event arguments for internal drag drop events.
Inheritance
System.Object
System.EventArgs
DropItemEventArgs
Inherited Members
System.EventArgs.Empty
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[Serializable]
[ComVisible(true)]
public class DropItemEventArgs : EventArgs
Constructors
| Improve this Doc View SourceDropItemEventArgs(Int32, ImageListViewItem[])
Initializes a new instance of the DropItemEventArgs class.
Declaration
public DropItemEventArgs(int index, ImageListViewItem[] items)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The position of the insertion caret. |
ImageListViewItem[] | items | The array of items droppped on the control. |
Properties
| Improve this Doc View SourceCancel
Gets or sets whether default event code will be processed. When set to true, the control will automatically insert the new items. Otherwise, the control will not process the dropped items.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Index
Gets the position of the insertion caret. This determines where the new items will be inserted.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Items
Gets the array of items droppped on the control.
Declaration
public ImageListViewItem[] Items { get; }
Property Value
Type | Description |
---|---|
ImageListViewItem[] |