5 references to ToggleButtonTemplatePartName
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
49RibbonToggleButton filterToggleButton = this.Template.FindName(RibbonMenuButton.ToggleButtonTemplatePartName, this) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
37[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 696_partToggleButton = GetTemplateChild(ToggleButtonTemplatePartName) as RibbonToggleButton;
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (2)
31[TemplatePart(Name = RibbonMenuButton.ToggleButtonTemplatePartName, Type = typeof(RibbonToggleButton))] 73_toggleButton = GetTemplateChild(RibbonSplitButton.ToggleButtonTemplatePartName) as RibbonToggleButton;