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)
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");
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);
502
Popup.CreateRootPopup(
_parentPopup
, this);
544
if (
_parentPopup
!= null)
546
_parentPopup
.Unloaded -= new RoutedEventHandler(OnPopupUnloaded);
676
if (!Popup.IsRootedInPopup(
_parentPopup
, this))
686
if (!Popup.IsRootedInPopup(
_parentPopup
, this))