21 references to PartToggleButton
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (4)
53
if (owner != null && owner.
PartToggleButton
!= null )
55
AutomationPeer peer = CreatePeerForElement(owner.
PartToggleButton
);
105
if (String.IsNullOrEmpty(name) && owner.
PartToggleButton
!= null)
107
AutomationPeer buttonPeer = UIElementAutomationPeer.CreatePeerForElement(owner.
PartToggleButton
);
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (2)
345
if (_popupToggleButton != null &&
PartToggleButton
!= null)
359
Point mainToggleButtonScreenPosition =
PartToggleButton
.PointToScreen(new Point());
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (8)
206
(
PartToggleButton
!= null &&
PartToggleButton
.IsKeyboardFocused)))
960
targetFocusOnFalse =
PartToggleButton
;
1181
(
PartToggleButton
!= null &&
PartToggleButton
.IsKeyboardFocused));
1212
e.OriginalSource ==
PartToggleButton
)
1453
else if (!IsEditable &&
PartToggleButton
!= null)
1455
PartToggleButton
.Focus();
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (7)
232
if (splitButton.
PartToggleButton
!= null)
234
splitButton.
PartToggleButton
.CoerceValue(FrameworkElement.ToolTipProperty);
433
if (
PartToggleButton
!= null && _headerButton != null && ControlSizeDefinition != null )
440
PartToggleButton
.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom);
444
PartToggleButton
.BorderThickness = new Thickness();
453
PartToggleButton
.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
457
PartToggleButton
.BorderThickness = new Thickness();