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)
984
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1001
RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1022
if (double.IsNaN(
_itemsPresenter
.Width) || double.IsNaN(
_itemsPresenter
.Height))
1024
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1027
double horizontalDelta = newWidth -
_itemsPresenter
.Width;
1028
double verticalDelta = newHeight -
_itemsPresenter
.Height;
1030
return RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1100
RibbonDropDownHelper.ClearLocalValues(
_itemsPresenter
, _popup);
1104
if (
_itemsPresenter
!= null && HasGallery)
1106
_itemsPresenter
.Height = DropDownHeight;
1197
RibbonHelper.SetDropDownHeight(menuButton.
_itemsPresenter
, (bool)e.NewValue, menuButton.DropDownHeight);
1280
_screenBounds = RibbonDropDownHelper.GetScreenBounds(
_itemsPresenter
, _popup);
1283
if (_popupRoot == null &&
_itemsPresenter
!= null)
1285
_popupRoot = TreeHelper.FindVisualRoot(
_itemsPresenter
) as UIElement;