CreateStringApplicationFormat Method
Creates a new format specific to the application that returns a String.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static DataFormat<string> CreateStringApplicationFormat(
string identifier
)
Public Shared Function CreateStringApplicationFormat (
identifier As String
) As DataFormat(Of String)
static member CreateStringApplicationFormat :
identifier : string -> DataFormat<string>
Parameters
- String
The format identifier. To avoid conflicts with system identifiers, this value isn't passed to the underlying platform directly. However, two different applications using the same identifier with CreateBytesApplicationFormat(String) or CreateStringApplicationFormat(String) are able to share data using this format.
Only ASCII letters (A-Z, a-z), digits (0-9), the dot (.) and the hyphen (-) are accepted.
Return Value
DataFormat(String)
A new DataFormat.