1 write to _parentPopup
PresentationFramework (1)
System\Windows\Controls\ContextMenu.cs (1)
483_parentPopup = new Popup
15 references to _parentPopup
PresentationFramework (15)
System\Windows\Controls\ContextMenu.cs (15)
149if (ctrl._parentPopup == null) 154ctrl._parentPopup.Unloaded += new RoutedEventHandler(ctrl.OnPopupUnloaded); 249if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !SystemParameters.DropShadow) 481Debug.Assert(_parentPopup == null, "_parentPopup should be null"); 491_parentPopup.DropOpposite = false; 495_parentPopup.Opened += new EventHandler(OnPopupOpened); 496_parentPopup.Closed += new EventHandler(OnPopupClosed); 497_parentPopup.PopupCouldClose += new EventHandler(OnPopupCouldClose); 499_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey); 503Popup.CreateRootPopup(_parentPopup, this); 545if (_parentPopup != null) 547_parentPopup.Unloaded -= new RoutedEventHandler(OnPopupUnloaded); 677if (!Popup.IsRootedInPopup(_parentPopup, this)) 687if (!Popup.IsRootedInPopup(_parentPopup, this))