1 write to _itemsPresenter
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
638_itemsPresenter = GetTemplateChild(ItemsPresenterTemplatePartName) as ItemsPresenter;
17 references to _itemsPresenter
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (17)
328RibbonHelper.SetDropDownHeight(menuItem._itemsPresenter, (bool)e.NewValue, menuItem.DropDownHeight); 1050RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1068RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1089if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1091RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1094double horizontalDelta = newWidth - _itemsPresenter.Width; 1095double verticalDelta = newHeight - _itemsPresenter.Height; 1097return RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1284if (menuItem._itemsPresenter != null) 1286menuItem._itemsPresenter.ClearValue(FrameworkElement.HeightProperty); 1287menuItem._itemsPresenter.ClearValue(FrameworkElement.WidthProperty); 1293if (menuItem._itemsPresenter != null && menuItem.HasGallery ) 1295menuItem._itemsPresenter.Height = menuItem.DropDownHeight; 1333_screenBounds = RibbonDropDownHelper.GetScreenBounds(_itemsPresenter, _popup); 1336if (_popupRoot == null && _itemsPresenter != null) 1338_popupRoot = TreeHelper.FindVisualRoot(_itemsPresenter) as UIElement;