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