1 instantiation of BoolField
PresentationFramework (1)
System\Windows\Controls\MenuItem.cs (1)
2652new FrameworkPropertyMetadata(new BoolField())
26 references to BoolField
PresentationFramework (26)
System\Windows\Controls\MenuItem.cs (26)
434MenuItem.SetBoolField(this, BoolField.CanExecuteInvalid, false); 446MenuItem.SetBoolField(this, BoolField.CanExecuteInvalid, true); 626if (subItem != null && MenuItem.GetBoolField(subItem, BoolField.CanExecuteInvalid)) 635MenuItem.SetBoolField(menuItem, BoolField.IgnoreMouseEvents, true); 636MenuItem.SetBoolField(menuItem, BoolField.MouseEnterOnMouseMove, false); 644MenuItem.SetBoolField(menuItem, BoolField.IgnoreMouseEvents, false); 699MenuItem.SetBoolField(menuItem, BoolField.IgnoreNextMouseLeave, true); 1203bool openedWithKeyboard = MenuItem.GetBoolField(this, BoolField.OpenedWithKeyboard); 1226MenuItem.SetBoolField(this, BoolField.OpenedWithKeyboard, false); 1327if (MenuItem.GetBoolField(menuItem, BoolField.CanExecuteInvalid)) 1658MenuItem.GetBoolField(parent, BoolField.MouseEnterOnMouseMove)) 1660MenuItem.SetBoolField(parent, BoolField.MouseEnterOnMouseMove, false); 1680if (parent == null || !MenuItem.GetBoolField(parent, BoolField.IgnoreMouseEvents)) 1707MenuItem.SetBoolField(parent, BoolField.MouseEnterOnMouseMove, true); 1783if (MenuItem.GetBoolField(this, BoolField.IgnoreNextMouseLeave)) 1787MenuItem.SetBoolField(this, BoolField.IgnoreNextMouseLeave, false); 1994if ((parent != null) && (!MenuItem.GetBoolField(parent, BoolField.IgnoreMouseEvents))) 1997MenuItem.SetBoolField(parent, BoolField.IgnoreMouseEvents, true); 2003MenuItem.SetBoolField(parent, BoolField.IgnoreMouseEvents, false); 2329MenuItem.SetBoolField(this, BoolField.OpenedWithKeyboard, true); 2650typeof(BoolField), 2655private static bool GetBoolField(UIElement element, BoolField field) 2657return (((BoolField)element.GetValue(BooleanFieldStoreProperty)) & field) != 0; 2660private static void SetBoolField(UIElement element, BoolField field, bool value) 2664element.SetValue(BooleanFieldStoreProperty, ((BoolField)element.GetValue(BooleanFieldStoreProperty)) | field); 2668element.SetValue(BooleanFieldStoreProperty, ((BoolField)element.GetValue(BooleanFieldStoreProperty)) & (~field));