DataObject
CopyingEvent
PastingEvent
SettingDataEvent
DataObject()
DataObject(Object)
DataObject(String, Object)
DataObject(Type, Object)
DataObject(String, Object, Boolean)
AddCopyingHandler(DependencyObject, DataObjectCopyingEventHandler)
AddPastingHandler(DependencyObject, DataObjectPastingEventHandler)
AddSettingDataHandler(DependencyObject, DataObjectSettingDataEventHandler)
ContainsAudio()
ContainsFileDropList()
ContainsImage()
ContainsText()
ContainsText(TextDataFormat)
GetAudioStream()
GetData(String)
GetData(Type)
GetData(String, Boolean)
GetDataPresent(String)
GetDataPresent(Type)
GetDataPresent(String, Boolean)
GetFileDropList()
GetFormats()
GetFormats(Boolean)
GetImage()
GetText()
GetText(TextDataFormat)
RemoveCopyingHandler(DependencyObject, DataObjectCopyingEventHandler)
RemovePastingHandler(DependencyObject, DataObjectPastingEventHandler)
RemoveSettingDataHandler(DependencyObject, DataObjectSettingDataEventHandler)
SetAudio(Byte[])
SetAudio(Stream)
SetData(Object)
SetData(String, Object)
SetData(Type, Object)
SetData(String, Object, Boolean)
SetDataAsJson<T>(T)
SetDataAsJson<T>(String, T)
SetFileDropList(StringCollection)
SetImage(BitmapSource)
SetText(String)
SetText(String, TextDataFormat)
TryGetData<T>(T)
TryGetData<T>(String, T)
TryGetData<T>(String, Boolean, T)
TryGetData<T>(String, Func<TypeName, Type>, Boolean, T)
net10.0-windows10.0.22621
namespace System.Windows
{
public sealed class DataObject : IDataObject, IDataObject, ITypedDataObject
{
public bool TryGetData<T>(string! format, bool autoConvert, [MaybeNullWhen(false), NotNullWhen(true)] out T data);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net10.0-windows10.0.22621 | |
| Assembly | PresentationCore , Version=10.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs to set |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API