21 references to PartToggleButton
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (4)
50if (owner != null && owner.PartToggleButton != null ) 52AutomationPeer peer = CreatePeerForElement(owner.PartToggleButton); 102if (String.IsNullOrEmpty(name) && owner.PartToggleButton != null) 104AutomationPeer buttonPeer = UIElementAutomationPeer.CreatePeerForElement(owner.PartToggleButton);
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (2)
343if (_popupToggleButton != null && PartToggleButton != null) 357Point mainToggleButtonScreenPosition = PartToggleButton.PointToScreen(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (8)
204(PartToggleButton != null && PartToggleButton.IsKeyboardFocused))) 958targetFocusOnFalse = PartToggleButton; 1179(PartToggleButton != null && PartToggleButton.IsKeyboardFocused)); 1210e.OriginalSource == PartToggleButton) 1451else if (!IsEditable && PartToggleButton != null) 1453PartToggleButton.Focus();
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (7)
230if (splitButton.PartToggleButton != null) 232splitButton.PartToggleButton.CoerceValue(FrameworkElement.ToolTipProperty); 431if (PartToggleButton != null && _headerButton != null && ControlSizeDefinition != null ) 438PartToggleButton.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom); 442PartToggleButton.BorderThickness = new Thickness(); 451PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom); 455PartToggleButton.BorderThickness = new Thickness();