2 writes to _partToggleButton
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
696
_partToggleButton
= GetTemplateChild(ToggleButtonTemplatePartName) as RibbonToggleButton;
724
_partToggleButton
= null;
11 references to _partToggleButton
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (11)
298
if (
_partToggleButton
!= null && RibbonControlService.GetIsInControlGroup(this))
300
RibbonControlService.SetIsInControlGroup(
_partToggleButton
, true);
721
if ((oldTemplate != null) && (
_partToggleButton
!= null))
723
RibbonHelper.ClearPseudoInheritedProperties(
_partToggleButton
);
731
if (e.OriginalSource ==
_partToggleButton
||
752
e.OriginalSource ==
_partToggleButton
)
772
RetainFocusOnEscape ?
_partToggleButton
: null,
1389
return
_partToggleButton
;
1433
delegate(DependencyObject d) { return d ==
_partToggleButton
; },
1668
RibbonHelper.SetKeyTipPlacementForButton(this, e,
_partToggleButton
== null ? null :
_partToggleButton
.Image);