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)
328
RibbonHelper.SetDropDownHeight(menuItem.
_itemsPresenter
, (bool)e.NewValue, menuItem.DropDownHeight);
1050
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1068
RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1089
if (double.IsNaN(
_itemsPresenter
.Width) || double.IsNaN(
_itemsPresenter
.Height))
1091
RibbonDropDownHelper.OnPopupResizeStarted(
_itemsPresenter
);
1094
double horizontalDelta = newWidth -
_itemsPresenter
.Width;
1095
double verticalDelta = newHeight -
_itemsPresenter
.Height;
1097
return RibbonDropDownHelper.ResizePopup(
_itemsPresenter
,
1284
if (menuItem.
_itemsPresenter
!= null)
1286
menuItem.
_itemsPresenter
.ClearValue(FrameworkElement.HeightProperty);
1287
menuItem.
_itemsPresenter
.ClearValue(FrameworkElement.WidthProperty);
1293
if (menuItem.
_itemsPresenter
!= null && menuItem.HasGallery )
1295
menuItem.
_itemsPresenter
.Height = menuItem.DropDownHeight;
1333
_screenBounds = RibbonDropDownHelper.GetScreenBounds(
_itemsPresenter
, _popup);
1336
if (_popupRoot == null &&
_itemsPresenter
!= null)
1338
_popupRoot = TreeHelper.FindVisualRoot(
_itemsPresenter
) as UIElement;