3 types derived from ToggleButton
PresentationFramework (2)
System\Windows\Controls\CheckBox.cs (1)
25public class CheckBox : ToggleButton
System\Windows\Controls\RadioButton.cs (1)
21public class RadioButton : ToggleButton
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
32public class RibbonToggleButton : ToggleButton
2 instantiations of ToggleButton
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10326bamlType.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)
34ToggleButton expanderToggleButton = ((Expander)Owner).ExpanderToggleButton;
System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (5)
14public ToggleButtonAutomationPeer(ToggleButton owner): base(owner) 47ToggleButton owner = (ToggleButton)Owner; 55ToggleButton owner = (ToggleButton)Owner;
System\Windows\Controls\Expander.cs (3)
312_expanderToggleButton = GetTemplateChild(ExpanderToggleButtonTemplateName) as ToggleButton; 333internal ToggleButton ExpanderToggleButton 352private ToggleButton _expanderToggleButton;
System\Windows\Controls\FlowDocumentReader.cs (2)
112_findButton = GetTemplateChild(_findButtonTemplateName) as ToggleButton; 1918private ToggleButton _findButton; // Find toggle button
System\Windows\Controls\Primitives\ToggleButton.cs (11)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 29_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToggleButton)); 49public static readonly RoutedEvent CheckedEvent = EventManager.RegisterRoutedEvent("Checked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 54public static readonly RoutedEvent UncheckedEvent = EventManager.RegisterRoutedEvent("Unchecked", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 59public static readonly RoutedEvent IndeterminateEvent = EventManager.RegisterRoutedEvent("Indeterminate", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToggleButton)); 121typeof(ToggleButton), 150private static object OnGetIsChecked(DependencyObject d) {return ((ToggleButton)d).IsChecked;} 159ToggleButton button = (ToggleButton)d; 223typeof(ToggleButton),
System\Windows\Controls\ToolBar.cs (1)
471else if (feType == typeof(ToggleButton))
System\Windows\Controls\TreeViewItem.cs (2)
832ToggleButton toggleButton = Helper.FindTemplatedDescendant<ToggleButton>(this, this);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
762case 668: t = () => typeof(ToggleButton); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5924Type type = typeof(System.Windows.Controls.Primitives.ToggleButton); 5925DependencyProperty dp = System.Windows.Controls.Primitives.ToggleButton.ContentProperty; 5927this.GetXamlType(typeof(System.Windows.Controls.Primitives.ToggleButton)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10324typeof(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)
1683new PropertyAndTransferMode () { Property = ToggleButton.IsCheckedProperty, Mode = TransferMode.AlwaysTransfer }, 2062if (original is ToggleButton) 2140TransferProperty(original, clone, RibbonSplitButton.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer); 2172TransferProperty(original, clone, RibbonMenuItem.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer); 2210TransferProperty(original, clone, RibbonMenuItem.IsCheckedProperty, ToggleButton.IsCheckedProperty, TransferMode.AlwaysTransfer);