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)
1141public 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)
1973string_format.HotkeyPrefix = HotkeyPrefix.None; 1978string_format.HotkeyPrefix = HotkeyPrefix.Show; 1988string_format.HotkeyPrefix = HotkeyPrefix.Hide;
System\Drawing\StringFormatTests.cs (15)
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); 334[InlineData(HotkeyPrefix.Hide)] 335[InlineData(HotkeyPrefix.None)] 336[InlineData(HotkeyPrefix.Show)] 337public void HotKeyPrefix_SetValid_GetReturnsExpected(HotkeyPrefix prefix) 344[InlineData(HotkeyPrefix.None - 1)] 345[InlineData(HotkeyPrefix.Hide + 1)] 346public void HotKeyPrefix_SetInvalid_ThrowsInvalidEnumArgumentException(HotkeyPrefix prefix) 359AssertExtensions.Throws<ArgumentException>(null, () => format.HotkeyPrefix = HotkeyPrefix.Hide); 399Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix); 414Assert.Equal(HotkeyPrefix.None, format.HotkeyPrefix);
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
53public HotkeyPrefix GdiPlusHotkeyPrefix { get; set; }
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
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;