1 write to _popup
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
643
_popup
= GetTemplateChild(PopupTemplatePartName) as Popup;
22 references to _popup
System.Windows.Controls.Ribbon (22)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (22)
637
if (
_popup
!= null)
639
_popup
.Opened -= new EventHandler(OnPopupOpened);
640
_popup
.CustomPopupPlacementCallback -= new CustomPopupPlacementCallback(PlacePopup);
645
if (
_popup
!= null)
647
_popup
.Opened += new EventHandler(OnPopupOpened);
648
_popup
.CustomPopupPlacementCallback += new CustomPopupPlacementCallback(PlacePopup);
782
UIElement popupChild =
_popup
.TryGetChild();
805
_popup
.TryGetChild());
834
UIElement popupChild =
_popup
.TryGetChild();
910
if (IsSubmenuOpen &&
_popup
!= null && !
_popup
.IsKeyboardFocusWithin)
991
UIElement popupChild =
_popup
.TryGetChild();
1038
get { return
_popup
; }
1066
RibbonDropDownHelper.GetMinDropDownSize(_itemsHost,
_popup
, BorderThickness),
1095
RibbonDropDownHelper.GetMinDropDownSize(_itemsHost,
_popup
, BorderThickness),
1311
if (
_popup
!= null)
1313
UIElement popupChild =
_popup
.TryGetChild();
1330
_screenBounds = RibbonDropDownHelper.GetScreenBounds(_itemsPresenter,
_popup
);
1345
if ((popupChild =
_popup
.Child as FrameworkElement) != null)
1676
UIElement popupChild =
_popup
.TryGetChild();
1692
UIElement popupChild =
_popup
.TryGetChild();
1829
UIElement popupChild =
_popup
.TryGetChild();