2 types derived from ToggleButton
PresentationFramework (2)
src\Framework\System\Windows\Controls\CheckBox.cs (1)
34public class CheckBox : ToggleButton
src\Framework\System\Windows\Controls\RadioButton.cs (1)
25public class RadioButton : ToggleButton
2 instantiations of ToggleButton
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10324bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.ToggleButton(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1610case KnownElements.ToggleButton: o = new System.Windows.Controls.Primitives.ToggleButton(); break;
41 references to ToggleButton
PresentationFramework (31)
src\Framework\System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
42ToggleButton expanderToggleButton = ((Expander)Owner).ExpanderToggleButton;
src\Framework\System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (5)
21public ToggleButtonAutomationPeer(ToggleButton owner): base(owner) 54ToggleButton owner = (ToggleButton)Owner; 62ToggleButton owner = (ToggleButton)Owner;
src\Framework\System\Windows\Controls\Expander.cs (3)
317_expanderToggleButton = GetTemplateChild(ExpanderToggleButtonTemplateName) as ToggleButton; 338internal ToggleButton ExpanderToggleButton 357private ToggleButton _expanderToggleButton;
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
118_findButton = GetTemplateChild(_findButtonTemplateName) as ToggleButton; 1929private ToggleButton _findButton; // Find toggle button
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (11)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 40_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToggleButton)); 60public static readonly RoutedEvent CheckedEvent = EventManager.RegisterRoutedEvent("Checked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 65public static readonly RoutedEvent UncheckedEvent = EventManager.RegisterRoutedEvent("Unchecked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 70public static readonly RoutedEvent IndeterminateEvent = EventManager.RegisterRoutedEvent("Indeterminate", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 132typeof(ToggleButton), 161private static object OnGetIsChecked(DependencyObject d) {return ((ToggleButton)d).IsChecked;} 170ToggleButton button = (ToggleButton)d; 234typeof(ToggleButton),
src\Framework\System\Windows\Controls\ToolBar.cs (1)
490else if (feType == typeof(ToggleButton))
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
835ToggleButton toggleButton = Helper.FindTemplatedDescendant<ToggleButton>(this, this);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
760case 668: t = () => typeof(ToggleButton); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5884Type type = typeof(System.Windows.Controls.Primitives.ToggleButton); 5885DependencyProperty dp = System.Windows.Controls.Primitives.ToggleButton.ContentProperty; 5887this.GetXamlType(typeof(System.Windows.Controls.Primitives.ToggleButton)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10322typeof(System.Windows.Controls.Primitives.ToggleButton),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6212case KnownElements.ToggleButton: t = typeof(System.Windows.Controls.Primitives.ToggleButton); break;
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
303ToggleButton button = (ToggleButton)sender;
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (8)
812ToggleButton toggleButton = sender as ToggleButton; 905ToggleButton toggleButton = this.bottomPanel.Tag as ToggleButton; 1005ToggleButton button = sender as ToggleButton; 1022ToggleButton toggleButton = this.bottomPanel.Tag as ToggleButton;