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