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