Show / Hide Table of Contents

Class DropFileEventArgs

Represents the event arguments for external drag drop events.

Inheritance
System.Object
System.EventArgs
DropFileEventArgs
Inherited Members
System.EventArgs.Empty
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[Serializable]
[ComVisible(true)]
public class DropFileEventArgs : EventArgs

Constructors

| Improve this Doc View Source

DropFileEventArgs(Int32, String[])

Initializes a new instance of the DropFileEventArgs class.

Declaration
public DropFileEventArgs(int index, string[] fileNames)
Parameters
Type Name Description
System.Int32 index

The position of the insertion caret.

System.String[] fileNames

The array of filenames 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 files.

Declaration
public bool Cancel { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

FileNames

Gets the array of filenames droppped on the control.

Declaration
public string[] FileNames { get; }
Property Value
Type Description
System.String[]
| 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
Back to top Copyright © 2018 Özgür Özçıtak