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)
343if (_popupToggleButton != null && PartToggleButton != null) 345double currentXPosition = Canvas.GetLeft(_popupToggleButton); 351double currentYPosition = Canvas.GetTop(_popupToggleButton); 358Point popupToggleButtonOffset = _popupToggleButton.PointFromScreen(mainToggleButtonScreenPosition); 359Canvas.SetLeft(_popupToggleButton, currentXPosition + popupToggleButtonOffset.X); 360Canvas.SetTop(_popupToggleButton, currentYPosition + popupToggleButtonOffset.Y);