Compartilhar via


DataFormats Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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.

Inheritance Hierarchy

System.Object
  System.Windows.DataFormats

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

Syntax

'Declaration
Public NotInheritable Class DataFormats
public static class DataFormats

The DataFormats type exposes the following members.

Fields

  Name Description
Public fieldStatic member FileDrop Specifies the Microsoft Windows file drop format.

Top

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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

Thread Safety

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