1 write to _itemsPresenter
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
635_itemsPresenter = GetTemplateChild(ItemsPresenterTemplatePartName) as ItemsPresenter;
17 references to _itemsPresenter
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (17)
325RibbonHelper.SetDropDownHeight(menuItem._itemsPresenter, (bool)e.NewValue, menuItem.DropDownHeight); 1047RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1065RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1086if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1088RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1091double horizontalDelta = newWidth - _itemsPresenter.Width; 1092double verticalDelta = newHeight - _itemsPresenter.Height; 1094return RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1281if (menuItem._itemsPresenter != null) 1283menuItem._itemsPresenter.ClearValue(FrameworkElement.HeightProperty); 1284menuItem._itemsPresenter.ClearValue(FrameworkElement.WidthProperty); 1290if (menuItem._itemsPresenter != null && menuItem.HasGallery ) 1292menuItem._itemsPresenter.Height = menuItem.DropDownHeight; 1330_screenBounds = RibbonDropDownHelper.GetScreenBounds(_itemsPresenter, _popup); 1333if (_popupRoot == null && _itemsPresenter != null) 1335_popupRoot = TreeHelper.FindVisualRoot(_itemsPresenter) as UIElement;