DataFormats Class

Provides static, predefined format names for data objects. Use the named constants to identify the format of the data that you request from an IDataObject object.


Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public static class DataFormats

The DataFormats type exposes the following members.

Public fieldStatic memberFileDropSpecifies the Microsoft Windows file drop format.

Silverlight specifies only one data format, DataFormats.FileDrop. This data format is used by the file drop target scenario that is enabled by events on UIElement. For more information, see AllowDrop.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions