1 write to _popupToggleButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
304
_popupToggleButton
= this.GetTemplateChild(PopupToggleButtonTemplateName) as RibbonToggleButton;
6 references to _popupToggleButton
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (6)
345
if (
_popupToggleButton
!= null && PartToggleButton != null)
347
double currentXPosition = Canvas.GetLeft(
_popupToggleButton
);
353
double currentYPosition = Canvas.GetTop(
_popupToggleButton
);
360
Point popupToggleButtonOffset =
_popupToggleButton
.PointFromScreen(mainToggleButtonScreenPosition);
361
Canvas.SetLeft(
_popupToggleButton
, currentXPosition + popupToggleButtonOffset.X);
362
Canvas.SetTop(
_popupToggleButton
, currentYPosition + popupToggleButtonOffset.Y);