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)
149
if (ctrl.
_parentPopup
== null)
154
ctrl.
_parentPopup
.Unloaded += new RoutedEventHandler(ctrl.OnPopupUnloaded);
249
if (cm.
_parentPopup
== null || !cm.
_parentPopup
.AllowsTransparency || !SystemParameters.DropShadow)
481
Debug.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);
503
Popup.CreateRootPopup(
_parentPopup
, this);
545
if (
_parentPopup
!= null)
547
_parentPopup
.Unloaded -= new RoutedEventHandler(OnPopupUnloaded);
677
if (!Popup.IsRootedInPopup(
_parentPopup
, this))
687
if (!Popup.IsRootedInPopup(
_parentPopup
, this))