Skip to main content

DataFormatKind Enum

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia

Represents the kind of a Avalonia.Input.DataFormat.

public enum DataFormatKind

Inheritance: Enum -> DataFormatKind

Fields

NameDescription
ApplicationThe data format is specific to the application. The exact format name used internally by Avalonia will vary depending on the platform.
PlatformThe data format is specific to the current platform. Any other application using the same identifier will be able to access it.
UniversalThe data format is cross-platform and supported directly by Avalonia. Such formats include Avalonia.Input.DataFormat.Text and Avalonia.Input.DataFormat.File.

Application Field

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 Avalonia.Input.DataFormat.CreateBytesApplicationFormat(string) or Avalonia.Input.DataFormat.CreateStringApplicationFormat(string).

public Avalonia.Input.DataFormatKind Application

See also

Platform Field

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 Avalonia.Input.DataFormat.CreateBytesPlatformFormat(string) or Avalonia.Input.DataFormat.CreateStringPlatformFormat(string).

public Avalonia.Input.DataFormatKind Platform

See also

Universal Field

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

It is not possible to create such a format directly.

public Avalonia.Input.DataFormatKind Universal