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)
325
RibbonHelper.SetDropDownHeight(menuItem.
_itemsPresenter
, (bool)e.NewValue, menuItem.DropDownHeight);
1047
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1065
RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1086
if (double.IsNaN(
_itemsPresenter
.Width) || double.IsNaN(
_itemsPresenter
.Height))
1088
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1091
double horizontalDelta = newWidth -
_itemsPresenter
.Width;
1092
double verticalDelta = newHeight -
_itemsPresenter
.Height;
1094
return RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1281
if (menuItem.
_itemsPresenter
!= null)
1283
menuItem.
_itemsPresenter
.ClearValue(FrameworkElement.HeightProperty);
1284
menuItem.
_itemsPresenter
.ClearValue(FrameworkElement.WidthProperty);
1290
if (menuItem.
_itemsPresenter
!= null && menuItem.HasGallery )
1292
menuItem.
_itemsPresenter
.Height = menuItem.DropDownHeight;
1330
_screenBounds = RibbonDropDownHelper.GetScreenBounds(
_itemsPresenter
, _popup);
1333
if (_popupRoot == null &&
_itemsPresenter
!= null)
1335
_popupRoot = TreeHelper.FindVisualRoot(
_itemsPresenter
) as UIElement;