DragDataFile Class

A file of a DragData.

public sealed class DragDataFile : DragDataEntry
Inheritance
DragDataEntry DragDataFile

Properties

NameDescription
ContentGets the bytes of the file.
LastModifiedGets the last modification date of the file, or null for the time of the drop.
TypeGets the media type of the file.

Gets the bytes of the file.

public ReadOnlyMemory<byte> Content { get; }

Property value

ReadOnlyMemory<byte>

LastModified

DragData.cs

Gets the last modification date of the file, or null for the time of the drop.

public DateTimeOffset? LastModified { get; }

Property value

DateTimeOffset?

Gets the media type of the file.

public string Type { get; }

Property value

string