Class DataFormats
Provides static, predefined Clipboard and Drag and Drop format names. Use them to identify the format of data that you store in an IDataObject.
public static class DataFormats
- Inheritance
-
DataFormats
Fields
- Bitmap
Specifies the bitmap format. This static field is read-only.
- CommaSeparatedValue
Specifies a comma-separated value (CSV) data format.
- Dib
Specifies the DIB data format.
- Dif
Specifies the Windows Data Interchange Format (DIF) data format.
- EnhancedMetafile
Specifies the Windows enhanced metafile format.
- FileDrop
Specifies the Windows file drop format.
- Files
Specifies the files format. This static field is read-only.
- Html
Specifies the HTML data format.
- Locale
Specifies the Windows locale (culture) data format.
- MetafilePicture
Specifies the Windows metafile picture data format.
- OemText
Specifies the standard Windows OEM text data format.
- Palette
Specifies the Windows palette data format.
- PenData
Specifies the Windows pen data format.
- Riff
Specifies the Resource Interchange File Format (RIFF) audio data format.
- Rtf
Specifies the Rich Text Format (RTF) data format.
- Serializable
Specifies a data format that encapsulates any type of serializable data objects.
- StringFormat
Specifies the common language runtime (CLR) string class data format.
- SymbolicLink
Specifies the Windows symbolic link data format.
- Text
Specifies the text format. This static field is read-only.
- Tiff
Specifies the Tagged Image File Format (TIFF) data format.
- UnicodeText
Specifies the standard Unicode text format. This static field is read-only.
- WaveAudio
Specifies the wave audio data format.
- Xaml
Specifies the Extensible Application Markup Language (XAML) data format.
- XamlPackage
Specifies the Extensible Application Markup Language (XAML) package data format.
Methods
- ConvertToDataFormats(TextDataFormat)
Gets string representation of the TextDataFormat.
- IsValidTextDataFormat(TextDataFormat)
Gets whether specified data format is valid.