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