26 references to HotkeyPrefix
System.Drawing (1)
System.Drawing.cs (1)
161
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Text.
HotkeyPrefix
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
1141
public System.Drawing.Text.
HotkeyPrefix
HotkeyPrefix { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
System.Drawing.Common.Tests (18)
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 (15)
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);
334
[InlineData(
HotkeyPrefix
.Hide)]
335
[InlineData(
HotkeyPrefix
.None)]
336
[InlineData(
HotkeyPrefix
.Show)]
337
public void HotKeyPrefix_SetValid_GetReturnsExpected(
HotkeyPrefix
prefix)
344
[InlineData(
HotkeyPrefix
.None - 1)]
345
[InlineData(
HotkeyPrefix
.Hide + 1)]
346
public void HotKeyPrefix_SetInvalid_ThrowsInvalidEnumArgumentException(
HotkeyPrefix
prefix)
359
AssertExtensions.Throws<ArgumentException>(null, () => format.HotkeyPrefix =
HotkeyPrefix
.Hide);
399
Assert.Equal(
HotkeyPrefix
.None, format.HotkeyPrefix);
414
Assert.Equal(
HotkeyPrefix
.None, format.HotkeyPrefix);
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
53
public
HotkeyPrefix
GdiPlusHotkeyPrefix { get; set; }
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
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;