Show / Hide Table of Contents

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 Source

DropItemEventArgs(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 Source

Cancel

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Items

Gets the array of items droppped on the control.

Declaration
public ImageListViewItem[] Items { get; }
Property Value
Type Description
ImageListViewItem[]
Back to top Copyright © 2018 Özgür Özçıtak