[WinForms] Change HotkeyPrefix default value in TabControlPainter.cs (#17579)
commit6b3aa3a05bb79ef9f6d450233da603583d0dcbf8
authorabrevet-dev <57099550+abrevet-dev@users.noreply.github.com>
Thu, 31 Oct 2019 12:48:12 +0000 (31 13:48 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 31 Oct 2019 12:48:12 +0000 (31 13:48 +0100)
tree1418cb4d7e066d4ff17d0525a2468c0a49e47cf0
parenta27aa7afd053c6a947d3205863aa196bde239193
[WinForms] Change HotkeyPrefix default value in TabControlPainter.cs (#17579)

The default behavior on .NET Framework is _HotkeyPrefix.None_ when creating a _TabControl_ element (ampersands not escaped).
If an user wants to override this behavior, he has to declare a _DrawItemEventHandler_ (with _DrawMode = OwnerDrawFixed_).

Fixes #16206
mcs/class/System.Windows.Forms/System.Windows.Forms.Theming/Default/TabControlPainter.cs