Skip to main content

CreateStringPlatformFormat Method

Creates a new format for the current platform that returns a String.

Definition​

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

public static DataFormat<string> CreateStringPlatformFormat(
string identifier
)

Parameters​

  String
The format identifier. This value is not validated and is passed AS IS to the underlying platform. Most systems use mime types, but macOS requires Uniform Type Identifiers (UTI).

Return Value​

DataFormat(String)
A new DataFormat.

See Also​

Reference​

DataFormat Class
Avalonia.Input Namespace