2 // System.Windows.Forms.UICuesEventArgs
5 // stubbed out by Stefan Warnke (StefanW@POBox.com)
6 // Dennis Hayes (dennish@Raytek.com)
7 // Gianandrea Terzi (gianandrea.terzi@lario.com)
9 // (C) Ximian, Inc., 2002
13 namespace System.Windows.Forms {
20 /// UICuesEventArgs specifies which user interface feature changed and its new value.
22 public class UICuesEventArgs : EventArgs {
24 private UICues uicues;
26 // /// --- Constructor ---
28 public UICuesEventArgs(UICues uicues)
33 /// --- Public Properties ---
34 #region Public Properties
36 // Gets the bitwise combination of the UICues values
37 public UICues Changed {
43 // Gets a value indicating whether the state of the focus cues has changed.
44 public bool ChangeFocus {
46 return (uicues & UICues.ChangeFocus) == 0;
50 // Gets a value indicating whether the state of the keyboard cues has changed
51 public bool ChangeKeyboard {
53 return (uicues & UICues.ChangeKeyboard) == 0;
57 // Gets a value indicating whether focus rectangles are shown after the change
58 public bool ShowFocus {
60 return (uicues & UICues.ShowFocus) == 0;
64 // Gets a value indicating whether keyboard cues are underlined after the change
65 public bool ShowKeyboard {
67 return (uicues & UICues.ShowKeyboard) == 0;
71 #endregion // Public Properties