41 references to MenuAccessKeysUnderlined
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (2)
3270
if (SystemInformation.
MenuAccessKeysUnderlined
)
3316
if (SystemInformation.
MenuAccessKeysUnderlined
)
System\Windows\Forms\Rendering\DisplayInformation.cs (1)
106
s_menuAccessKeysUnderlined = SystemInformation.
MenuAccessKeysUnderlined
;
System.Windows.Forms.Tests (38)
System\Windows\Forms\ControlTests.Properties.cs (20)
10500
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, control.ShowFocusCues);
10507
{ (int)PInvoke.UIS_CLEAR | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10508
{ (int)PInvoke.UIS_CLEAR | ((int)PInvoke.UISF_HIDEACCEL << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10511
{ (int)PInvoke.UIS_SET | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10512
{ (int)PInvoke.UIS_SET | ((int)PInvoke.UISF_HIDEACCEL << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10515
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10516
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_HIDEACCEL << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10517
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_HIDEFOCUS << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10518
{ (int)PInvoke.UIS_INITIALIZE | ((int)(PInvoke.UISF_HIDEACCEL | PInvoke.UISF_HIDEFOCUS) << 16), SystemInformation.
MenuAccessKeysUnderlined
}
10551
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, control.ShowFocusCues);
10559
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, control.ShowKeyboardCues);
10566
{ (int)PInvoke.UIS_CLEAR | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10568
{ (int)PInvoke.UIS_CLEAR | ((int)PInvoke.UISF_HIDEFOCUS << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10570
{ (int)PInvoke.UIS_SET | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10572
{ (int)PInvoke.UIS_SET | ((int)PInvoke.UISF_HIDEFOCUS << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10574
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_ACTIVE << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10575
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_HIDEACCEL << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10576
{ (int)PInvoke.UIS_INITIALIZE | ((int)PInvoke.UISF_HIDEFOCUS << 16), SystemInformation.
MenuAccessKeysUnderlined
},
10577
{ (int)PInvoke.UIS_INITIALIZE | ((int)(PInvoke.UISF_HIDEACCEL | PInvoke.UISF_HIDEFOCUS) << 16), SystemInformation.
MenuAccessKeysUnderlined
}
10610
Assert.Equal(designMode | SystemInformation.
MenuAccessKeysUnderlined
, control.ShowKeyboardCues);
System\Windows\Forms\SystemInformationTests.cs (2)
412
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, SystemInformation.
MenuAccessKeysUnderlined
);
System\Windows\Forms\ToolStripButtonTests.cs (6)
81
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
162
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
249
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
339
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
427
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
525
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
110
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
81
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
170
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
269
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
377
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
System\Windows\Forms\ToolStripItemTests.cs (3)
80
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
165
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
260
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
88
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
78
Assert.Equal(SystemInformation.
MenuAccessKeysUnderlined
, item.ShowKeyboardCues);