1 write to _parentPopup
PresentationFramework (1)
System\Windows\Controls\ContextMenu.cs (1)
482_parentPopup = new Popup
15 references to _parentPopup
PresentationFramework (15)
System\Windows\Controls\ContextMenu.cs (15)
148if (ctrl._parentPopup == null) 153ctrl._parentPopup.Unloaded += new RoutedEventHandler(ctrl.OnPopupUnloaded); 248if (cm._parentPopup == null || !cm._parentPopup.AllowsTransparency || !SystemParameters.DropShadow) 480Debug.Assert(_parentPopup == null, "_parentPopup should be null"); 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))