Windows Forms in .NET 11 Preview 4 - Release Notes

May 12, 2026 ยท View on GitHub

.NET 11 Preview 4 does not introduce new Windows Forms feature additions. The notable user-facing change in this preview is a clipboard regression fix.

Bug fixes

  • System.Windows.Forms.Clipboard / DataObject
    • Clipboard.GetDataObject().GetImage() once again returns bitmap images placed on the clipboard. After the typed/NRBF clipboard pipeline shipped in .NET 10, bitmaps were stored in the typed data store, but DataObject.GetImage only read from the legacy GetData store and returned null. DataObject.GetImage tries the typed pipeline via TryGetData<Image>(DataFormats.Bitmap, autoConvert: true, ...) and returns null if it can't retrieve the data. (dotnet/winforms #14427, dotnet/winforms #14423).
// Round-trips again on .NET 11 Preview 4
Clipboard.SetImage(bitmap);
Image? image = Clipboard.GetDataObject()?.GetImage();