1 write to _parentPopup
PresentationFramework (1)
System\Windows\Controls\ContextMenu.cs (1)
483_parentPopup = new Popup();
16 references to _parentPopup
PresentationFramework (16)
System\Windows\Controls\ContextMenu.cs (16)
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"); 485_parentPopup.AllowsTransparency = true; 490_parentPopup.DropOpposite = false; 494_parentPopup.Opened += new EventHandler(OnPopupOpened); 495_parentPopup.Closed += new EventHandler(OnPopupClosed); 496_parentPopup.PopupCouldClose += new EventHandler(OnPopupCouldClose); 498_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey); 502Popup.CreateRootPopup(_parentPopup, this); 544if (_parentPopup != null) 546_parentPopup.Unloaded -= new RoutedEventHandler(OnPopupUnloaded); 676if (!Popup.IsRootedInPopup(_parentPopup, this)) 686if (!Popup.IsRootedInPopup(_parentPopup, this))