1 write to _parentPopup
PresentationFramework (1)
System\Windows\Controls\ContextMenu.cs (1)
491
_parentPopup
= new Popup();
16 references to _parentPopup
PresentationFramework (16)
System\Windows\Controls\ContextMenu.cs (16)
157
if (ctrl.
_parentPopup
== null)
162
ctrl.
_parentPopup
.Unloaded += new RoutedEventHandler(ctrl.OnPopupUnloaded);
257
if (cm.
_parentPopup
== null || !cm.
_parentPopup
.AllowsTransparency || !SystemParameters.DropShadow)
489
Debug.Assert(
_parentPopup
== null, "_parentPopup should be null");
493
_parentPopup
.AllowsTransparency = true;
498
_parentPopup
.DropOpposite = false;
502
_parentPopup
.Opened += new EventHandler(OnPopupOpened);
503
_parentPopup
.Closed += new EventHandler(OnPopupClosed);
504
_parentPopup
.PopupCouldClose += new EventHandler(OnPopupCouldClose);
506
_parentPopup
.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey);
510
Popup.CreateRootPopup(
_parentPopup
, this);
552
if (
_parentPopup
!= null)
554
_parentPopup
.Unloaded -= new RoutedEventHandler(OnPopupUnloaded);
684
if (!Popup.IsRootedInPopup(
_parentPopup
, this))
694
if (!Popup.IsRootedInPopup(
_parentPopup
, this))