6 types derived from ButtonBase
PresentationFramework (6)
src\Framework\System\Windows\Controls\Button.cs (1)
23public class Button: ButtonBase
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
52public class GridViewColumnHeader : ButtonBase
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
27public class DataGridColumnHeader : ButtonBase, IProvideDataGridColumn
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
24public class DataGridRowHeader : ButtonBase
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (1)
27public class RepeatButton : ButtonBase
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
32public class ToggleButton : ButtonBase
61 references to ButtonBase
PresentationFramework (61)
src\Framework\System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (6)
25protected ButtonBaseAutomationPeer(ButtonBase owner): base(owner) 34RoutedUICommand uiCommand = ((ButtonBase)Owner).Command as RoutedUICommand; 49ButtonBase owner = (ButtonBase)Owner; 69ButtonBase bb = (ButtonBase)Owner;
src\Framework\System\Windows\Controls\Button.cs (1)
34if (ButtonBase.CommandProperty != null)
src\Framework\System\Windows\Controls\DatePicker.cs (1)
46private ButtonBase _dropDownButton;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
242SetValue(ButtonBase.IsPressedPropertyKey, BooleanBoxes.TrueBox);
src\Framework\System\Windows\Controls\MenuItem.cs (3)
390ButtonBase.CommandProperty.AddOwner( 490ButtonBase.CommandParameterProperty.AddOwner( 511ButtonBase.CommandTargetProperty.AddOwner(
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (16)
35EventManager.RegisterClassHandler(typeof(ButtonBase), AccessKeyManager.AccessKeyPressedEvent, new AccessKeyPressedEventHandler(OnAccessKeyPressed)); 36KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 42InputMethod.IsInputMethodEnabledProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 44IsMouseOverPropertyKey.OverrideMetadata(typeof(ButtonBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 45IsEnabledProperty.OverrideMetadata(typeof(ButtonBase), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 68RoutedEventArgs newEvent = new RoutedEventArgs(ButtonBase.ClickEvent, this); 143ButtonBase ctrl = (ButtonBase)d; 178public static readonly RoutedEvent ClickEvent = EventManager.RegisterRoutedEvent("Click", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ButtonBase)); 194typeof(ButtonBase), 206typeof(ButtonBase), 219typeof(ButtonBase), 229typeof(ButtonBase), 284ButtonBase b = (ButtonBase)d; 386typeof(ButtonBase),
src\Framework\System\Windows\Controls\StickyNote.cs (4)
209button.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 217closeButton.AddHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1315closeButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick)); 1321iconButton.RemoveHandler(ButtonBase.ClickEvent, new RoutedEventHandler(OnButtonClick));
src\Framework\System\Windows\Controls\ToolBar.cs (3)
83EventManager.RegisterClassHandler(typeof(ToolBar), ButtonBase.ClickEvent, new RoutedEventHandler(_OnClick)); 719ButtonBase bb = args.OriginalSource as ButtonBase;
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
463public static readonly RoutedEvent ClickEvent = System.Windows.Controls.Primitives.ButtonBase.ClickEvent.AddOwner(typeof(Hyperlink));
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
148case 56: t = () => typeof(ButtonBase); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (18)
1812Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1813DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.CommandProperty; 1815this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType 1829Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1830DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.CommandParameterProperty; 1832this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType 1847Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1848DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.CommandTargetProperty; 1850this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType 1863Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1864DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.IsPressedProperty; 1866this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType 4172Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 4173DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.ContentProperty; 4175this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType 7693Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 7694DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.ClickModeProperty; 7696this.GetXamlType(typeof(System.Windows.Controls.Primitives.ButtonBase)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2310typeof(System.Windows.Controls.Primitives.ButtonBase),
src\Framework\System\Windows\Markup\KnownTypes.cs (5)
1695return System.Windows.Controls.Primitives.ButtonBase.CommandProperty; 1697return System.Windows.Controls.Primitives.ButtonBase.CommandParameterProperty; 1699return System.Windows.Controls.Primitives.ButtonBase.CommandTargetProperty; 1701return System.Windows.Controls.Primitives.ButtonBase.IsPressedProperty; 5600case KnownElements.ButtonBase: t = typeof(System.Windows.Controls.Primitives.ButtonBase); break;