11 writes to HotkeyPrefix
System.Drawing.Common.Tests (6)
mono\System.Drawing\GraphicsTests.cs (3)
1970string_format.HotkeyPrefix = HotkeyPrefix.None; 1975string_format.HotkeyPrefix = HotkeyPrefix.Show; 1985string_format.HotkeyPrefix = HotkeyPrefix.Hide;
System\Drawing\StringFormatTests.cs (3)
339using StringFormat format = new() { HotkeyPrefix = prefix }; 349Assert.ThrowsAny<ArgumentException>(() => format.HotkeyPrefix = prefix); 359AssertExtensions.Throws<ArgumentException>(null, () => format.HotkeyPrefix = HotkeyPrefix.Hide);
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
78HotkeyPrefix = GdiPlusHotkeyPrefix,
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
476HotkeyPrefix = ShowKeyboardCues ? HotkeyPrefix.Show : HotkeyPrefix.Hide
System\Windows\Forms\Rendering\ControlPaint.cs (3)
2564stringFormat.HotkeyPrefix = Drawing.Text.HotkeyPrefix.None; 2568stringFormat.HotkeyPrefix = Drawing.Text.HotkeyPrefix.Show; 2572stringFormat.HotkeyPrefix = Drawing.Text.HotkeyPrefix.Hide;
10 references to HotkeyPrefix
System.Drawing.Common.Tests (9)
System\Drawing\StringFormatTests.cs (9)
21Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 36Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 52Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 66Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 107Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 340Assert.Equal(prefix, format.HotkeyPrefix); 358AssertExtensions.Throws<ArgumentException>(null, () => format.HotkeyPrefix); 399Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 414Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
94GdiPlusHotkeyPrefix = value.HotkeyPrefix;