Skip to main content

DataFormatKind Enumeration

Represents the kind of a DataFormat.

Definition​

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

public enum DataFormatKind
View Source

Members​

Application0

The data format is specific to the application. The exact format name used internally by Avalonia will vary depending on the platform.

Such a format is created using CreateBytesApplicationFormat(String) or CreateStringApplicationFormat(String).

Platform1

The data format is specific to the current platform. Any other application using the same identifier will be able to access it.

Such a format is created using CreateBytesPlatformFormat(String) or CreateStringPlatformFormat(String).

Universal2

The data format is cross-platform and supported directly by Avalonia. Such formats include Text and File.

It is not possible to create such a format directly.

See Also​

Reference​

Avalonia.Input Namespace