Skip to content

[WinForms] Deprecate Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl quirk #14173

@RussKie

Description

@RussKie

Deprecate Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl quirk

See Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl compatibility switch not supported for updated documentation for this change.

Deprecate Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl quirk

Version introduced

3.0 Preview9

Old behavior

In the .NET Framework 4.6.2 and previous versions the RichTextBox control would instantiate the Win32 RichEdit control v3.0 (versions differences), and for applications retargeting to .NET 4.7.1, the RichTextBox control would instantiate RichEdit v4.1 (msftedit.dll).
Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl was introduced to allow applications targeting .NET 4.7.1 and later to opt-out of the new RichEdit v4.1 and use the old RichEdit v3 instead.

New behavior

The switch is deprecated, only new versions of RichEdit control are supported.

Reason for change

.NET Core 3.0 is a new moderm development platform, and it brings significantly simpler servicing scenarios, thus allowing for removal of quirks targeting specific legacy use cases.

Recommended action

Remove the switch.
Ensure the code dependent on the switch contiues to work correctly.

Category

  • Windows Forms

Affected APIs

Not detectable via API analysis


Issue metadata

  • Issue type: breaking-change

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeIndicates a .NET Core breaking change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions