1 write to _popup
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
646
_popup
= GetTemplateChild(PopupTemplatePartName) as Popup;
22 references to _popup
System.Windows.Controls.Ribbon (22)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (22)
640
if (
_popup
!= null)
642
_popup
.Opened -= new EventHandler(OnPopupOpened);
643
_popup
.CustomPopupPlacementCallback -= new CustomPopupPlacementCallback(PlacePopup);
648
if (
_popup
!= null)
650
_popup
.Opened += new EventHandler(OnPopupOpened);
651
_popup
.CustomPopupPlacementCallback += new CustomPopupPlacementCallback(PlacePopup);
785
UIElement popupChild =
_popup
.TryGetChild();
808
_popup
.TryGetChild());
837
UIElement popupChild =
_popup
.TryGetChild();
913
if (IsSubmenuOpen &&
_popup
!= null && !
_popup
.IsKeyboardFocusWithin)
994
UIElement popupChild =
_popup
.TryGetChild();
1041
get { return
_popup
; }
1069
RibbonDropDownHelper.GetMinDropDownSize(_itemsHost,
_popup
, BorderThickness),
1098
RibbonDropDownHelper.GetMinDropDownSize(_itemsHost,
_popup
, BorderThickness),
1314
if (
_popup
!= null)
1316
UIElement popupChild =
_popup
.TryGetChild();
1333
_screenBounds = RibbonDropDownHelper.GetScreenBounds(_itemsPresenter,
_popup
);
1348
if ((popupChild =
_popup
.Child as FrameworkElement) != null)
1679
UIElement popupChild =
_popup
.TryGetChild();
1695
UIElement popupChild =
_popup
.TryGetChild();
1832
UIElement popupChild =
_popup
.TryGetChild();