Set<T>(DataFormat<T>, T) Method
Sets the value for a given format.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void Set<T>(
DataFormat<T> format,
T value
)
where T : class
Public Sub Set(Of T As Class) (
format As DataFormat(Of T),
value As T
)
member Set :
format : DataFormat<'T> *
value : 'T -> unit when 'T : not struct
Parameters
- DataFormat(T)
- The format.
- T
- The value corresponding to format. If null, the format won't be part of the DataTransferItem.
Type Parameters
See Also
Reference
DataTransferItem Class
Set Overload
Avalonia.Input Namespace