1 write to _itemsPresenter
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
695_itemsPresenter = GetTemplateChild(ItemsPresenterTemplatePartName) as ItemsPresenter;
15 references to _itemsPresenter
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (15)
984RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1001RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1022if (double.IsNaN(_itemsPresenter.Width) || double.IsNaN(_itemsPresenter.Height)) 1024RibbonDropDownHelper.OnPopupResizeStarted(_itemsPresenter); 1027double horizontalDelta = newWidth - _itemsPresenter.Width; 1028double verticalDelta = newHeight - _itemsPresenter.Height; 1030return RibbonDropDownHelper.ResizePopup(_itemsPresenter, 1100RibbonDropDownHelper.ClearLocalValues(_itemsPresenter, _popup); 1104if (_itemsPresenter != null && HasGallery) 1106_itemsPresenter.Height = DropDownHeight; 1197RibbonHelper.SetDropDownHeight(menuButton._itemsPresenter, (bool)e.NewValue, menuButton.DropDownHeight); 1280_screenBounds = RibbonDropDownHelper.GetScreenBounds(_itemsPresenter, _popup); 1283if (_popupRoot == null && _itemsPresenter != null) 1285_popupRoot = TreeHelper.FindVisualRoot(_itemsPresenter) as UIElement;