-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Description
.NET Core 3.0 introduced a change for how the text editor controls would create a System.Windows.DataObject when grabbing text to drag to another control. The code disabled autoconversion, which caused the operation to not convert the data to DataFormats.StringFormat and instead keep it as DataFormats.Text or DataFormats.UnicodeText. This was a change
Version
Other (please put exact version in description textbox)
Previous behavior
The data type on System.Windows.DataObject when dragging text from a text editor control was DataFormats.StringFormat.
New behavior
The data type on System.Windows.DataObject when dragging text from a text editor control is DataFormats.Text or DataFormats.UnicodeText.
Type of breaking change
- Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
- Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
- Behavioral change: Existing binaries might behave differently at run time.
Reason for change
Unintentional change.
Recommended action
This change was reverted in .NET 7. Upgrade to .NET 7 or later.
Feature area
Windows Presentation Foundation (WPF)
Affected APIs
No response