Struct FileDropEventArgs
Defines the event data for files being dropped onto the window.
Inherited Members
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct FileDropEventArgs
Constructors
FileDropEventArgs(string[])
Initializes a new instance of the FileDropEventArgs struct.
Declaration
public FileDropEventArgs(string[] paths)
Parameters
Type | Name | Description |
---|---|---|
string[] | paths | The Array of strings giving the names of all files dropped. |
Properties
FileNames
Gets the names of the files.
Declaration
public string[] FileNames { get; }
Property Value
Type | Description |
---|---|
string[] | An Array of strings giving the names of all files dropped. |