issues
search
picoe
/
Eto
Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.55k
stars
323
forks
source link
DataObject/Clipboard enhancements
#2535
Closed
cwensley
closed
1 year ago
cwensley
commented
1 year ago
Switches out BinarySerializer to DataContractSerializer for GetObject/SetObject
Support [DataContract] types for GetObject/SetObject (in addition to Serializable)
Add GetObject() override that takes desired type (vs. having to use a generic method)
GetObject() returns object for known format types for String, Bitmap, Color (mac)
Wpf/WinForms: GetData() returns byte data for more types
Wpf: Prevent crash getting data for FileContents, and return MemoryStream[] with GetObject()