35 references to UICues
System.Windows.Forms (15)
System\Windows\Forms\Control.cs (7)
12056UICues UIcues = UICues.None; 12064UIcues |= UICues.ChangeKeyboard; 12073UIcues |= UICues.ShowKeyboard; 12085UIcues |= UICues.ChangeFocus; 12094UIcues |= UICues.ShowFocus; 12099if ((UIcues & UICues.Changed) != 0)
System\Windows\Forms\UICuesEventArgs.cs (8)
11private readonly UICues _uicues; 13public UICuesEventArgs(UICues uicues) 21public bool ShowFocus => (_uicues & UICues.ShowFocus) != 0; 26public bool ShowKeyboard => (_uicues & UICues.ShowKeyboard) != 0; 31public bool ChangeFocus => (_uicues & UICues.ChangeFocus) != 0; 36public bool ChangeKeyboard => (_uicues & UICues.ChangeKeyboard) != 0; 38public UICues Changed => (_uicues & UICues.Changed);
System.Windows.Forms.Tests (20)
System\Windows\Forms\ControlTests.Handlers.cs (2)
780yield return new object[] { new UICuesEventArgs(UICues.None) }; 781yield return new object[] { new UICuesEventArgs(UICues.Changed) };
System\Windows\Forms\ToolStripDropDownTests.cs (2)
3682yield return new object[] { new UICuesEventArgs(UICues.None) }; 3683yield return new object[] { new UICuesEventArgs(UICues.Changed) };
System\Windows\Forms\UICuesEventArgsTests.cs (16)
10[InlineData((UICues)(-1))] 11[InlineData(UICues.None)] 12[InlineData(UICues.ShowFocus)] 13[InlineData(UICues.ShowKeyboard)] 14[InlineData(UICues.Shown)] 15[InlineData(UICues.ChangeFocus)] 16[InlineData(UICues.ChangeKeyboard)] 17[InlineData(UICues.Changed)] 18[InlineData(UICues.Changed | UICues.Shown)] 19public void Ctor_UICues(UICues uicues) 22Assert.Equal((uicues & UICues.ShowFocus) != 0, e.ShowFocus); 23Assert.Equal((uicues & UICues.ShowKeyboard) != 0, e.ShowKeyboard); 24Assert.Equal((uicues & UICues.ChangeFocus) != 0, e.ChangeFocus); 25Assert.Equal((uicues & UICues.ChangeKeyboard) != 0, e.ChangeKeyboard); 26Assert.Equal(uicues & UICues.Changed, e.Changed);