Skip to content

[WinForms] Deprecate Switch.System.Windows.Forms.AllowUpdateChildControlIndexForTabControls quirk #14158

@RussKie

Description

@RussKie

Deprecate Switch.System.Windows.Forms.AllowUpdateChildControlIndexForTabControls quirk

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

Deprecate Switch.System.Windows.Forms.AllowUpdateChildControlIndexForTabControls quirk

Version introduced

3.0 Preview9

Old behavior

TabControl for re-orders the its ControlCollection when a tab is selected.
In some special cases such behavior was undesired and a Switch.System.Windows.Forms.AllowUpdateChildControlIndexForTabControls switch was introduced in .NET Framework 4.6 to allow skipping the re-order.

New behavior

The switch is deprecated, and no alternative functionality is available.

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.
Update the code that was dependent on the switch to handle re-orders of ControlCollection when a tab is selected.

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