1 write to _parentPopup
PresentationFramework (1)
System\Windows\Controls\ContextMenu.cs (1)
491_parentPopup = new Popup();
16 references to _parentPopup
PresentationFramework (16)
System\Windows\Controls\ContextMenu.cs (16)
157if (ctrl._parentPopup == null) 162ctrl._parentPopup.Unloaded += new RoutedEventHandler(ctrl.OnPopupUnloaded); 257if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !SystemParameters.DropShadow) 489Debug.Assert(_parentPopup == null, "_parentPopup should be null"); 493_parentPopup.AllowsTransparency = true; 498_parentPopup.DropOpposite = false; 502_parentPopup.Opened += new EventHandler(OnPopupOpened); 503_parentPopup.Closed += new EventHandler(OnPopupClosed); 504_parentPopup.PopupCouldClose += new EventHandler(OnPopupCouldClose); 506_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey); 510Popup.CreateRootPopup(_parentPopup, this); 552if (_parentPopup != null) 554_parentPopup.Unloaded -= new RoutedEventHandler(OnPopupUnloaded); 684if (!Popup.IsRootedInPopup(_parentPopup, this)) 694if (!Popup.IsRootedInPopup(_parentPopup, this))