Skip to main content

SetFile Method

Sets the value for the File format.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void SetFile(
IStorageItem? value
)

Parameters

  IStorageItem
The value corresponding to the File format. If null, the format won't be part of the DataTransferItem.

See Also

Reference

DataTransferItem Class
Avalonia.Input Namespace