3 types derived from ToggleButton
PresentationFramework (2)
System\Windows\Controls\CheckBox.cs (1)
33public class CheckBox : ToggleButton
System\Windows\Controls\RadioButton.cs (1)
29public class RadioButton : ToggleButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
34public class RibbonToggleButton : ToggleButton
2 instantiations of ToggleButton
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10328bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.ToggleButton(); };
System\Windows\Markup\KnownTypes.cs (1)
1609case KnownElements.ToggleButton: o = new System.Windows.Controls.Primitives.ToggleButton(); break;
38 references to ToggleButton
Microsoft.VisualStudio.LanguageServices (2)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
70internal System.Windows.Controls.Primitives.ToggleButton ExpanderToggleButton; 211this.ExpanderToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
PresentationFramework (31)
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (1)
46ToggleButton expanderToggleButton = ((Expander)Owner).ExpanderToggleButton;
System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (5)
25public ToggleButtonAutomationPeer(ToggleButton owner): base(owner) 58ToggleButton owner = (ToggleButton)Owner; 66ToggleButton owner = (ToggleButton)Owner;
System\Windows\Controls\Expander.cs (3)
316_expanderToggleButton = GetTemplateChild(ExpanderToggleButtonTemplateName) as ToggleButton; 337internal ToggleButton ExpanderToggleButton 356private ToggleButton _expanderToggleButton;
System\Windows\Controls\FlowDocumentReader.cs (2)
117_findButton = GetTemplateChild(_findButtonTemplateName) as ToggleButton; 1923private ToggleButton _findButton; // Find toggle button
System\Windows\Controls\Primitives\ToggleButton.cs (11)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 38_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToggleButton)); 58public static readonly RoutedEvent CheckedEvent = EventManager.RegisterRoutedEvent("Checked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 63public static readonly RoutedEvent UncheckedEvent = EventManager.RegisterRoutedEvent("Unchecked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 68public static readonly RoutedEvent IndeterminateEvent = EventManager.RegisterRoutedEvent("Indeterminate", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 130typeof(ToggleButton), 159private static object OnGetIsChecked(DependencyObject d) {return ((ToggleButton)d).IsChecked;} 168ToggleButton button = (ToggleButton)d; 232typeof(ToggleButton),
System\Windows\Controls\ToolBar.cs (1)
480else if (feType == typeof(ToggleButton))
System\Windows\Controls\TreeViewItem.cs (2)
836ToggleButton toggleButton = Helper.FindTemplatedDescendant<ToggleButton>(this, this);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
764case 668: t = () => typeof(ToggleButton); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5926Type type = typeof(System.Windows.Controls.Primitives.ToggleButton); 5927DependencyProperty dp = System.Windows.Controls.Primitives.ToggleButton.ContentProperty; 5929this.GetXamlType(typeof(System.Windows.Controls.Primitives.ToggleButton)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10326typeof(System.Windows.Controls.Primitives.ToggleButton),
System\Windows\Markup\KnownTypes.cs (1)
6222case KnownElements.ToggleButton: t = typeof(System.Windows.Controls.Primitives.ToggleButton); break;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (5)
1688new PropertyAndTransferMode () { Property = ToggleButton.IsCheckedProperty, Mode = TransferMode.AlwaysTransfer }, 2067if (original is ToggleButton) 2145TransferProperty(original, clone, RibbonSplitButton.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer); 2177TransferProperty(original, clone, RibbonMenuItem.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer); 2215TransferProperty(original, clone, RibbonMenuItem.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer);