3 types derived from Button
PresentationFramework (2)
System\Windows\Controls\Primitives\CalendarButton.cs (1)
16
public sealed class CalendarButton :
Button
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
17
public sealed class CalendarDayButton :
Button
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
35
public class RibbonButton :
Button
2 instantiations of Button
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2299
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Button
(); };
System\Windows\Markup\KnownTypes.cs (1)
1154
case KnownElements.Button: o = new System.Windows.Controls.
Button
(); break;
116 references to Button
PresentationFramework (60)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
26
public ButtonAutomationPeer(
Button
owner): base(owner)
59
((
Button
)Owner).AutomationButtonBaseClick();
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
154
Button
owningButton = child as
Button
;
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
25
public CalendarButtonAutomationPeer(
Button
owner)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (9)
103
internal
Button
OwningButton
127
Button
owningButton = OwningButton;
360
Button
owningButton = OwningButton;
642
Button
owningButton = OwningButton;
661
Button
owningButton = OwningButton;
691
Button
owningButton = OwningButton;
720
Button
owningButton = OwningButton;
820
Button
owningButton = OwningButton;
875
Button
owningButton = OwningButton;
System\Windows\Controls\Button.cs (13)
33
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Button
), new FrameworkPropertyMetadata(typeof(
Button
)));
34
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Button
));
40
IsEnabledProperty.OverrideMetadata(typeof(
Button
), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
69
= DependencyProperty.Register("IsDefault", typeof(bool), typeof(
Button
),
85
Button
b = d as
Button
;
110
Button
b = ((
Button
)d);
132
typeof(
Button
),
149
Button
b = d as
Button
;
168
= DependencyProperty.RegisterReadOnly("IsDefaulted", typeof(bool), typeof(
Button
),
System\Windows\Controls\DatePicker.cs (2)
28
[TemplatePart(Name = DatePicker.ElementButton, Type = typeof(
Button
))]
698
_dropDownButton = GetTemplateChild(ElementButton) as
Button
;
System\Windows\Controls\Primitives\CalendarItem.cs (12)
18
[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(
Button
))]
19
[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(
Button
))]
20
[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(
Button
))]
52
private
Button
_headerButton;
54
private
Button
_nextButton;
55
private
Button
_previousButton;
112
internal
Button
HeaderButton
120
internal
Button
NextButton
128
internal
Button
PreviousButton
173
_previousButton = GetTemplateChild(ElementPreviousButton) as
Button
;
174
_nextButton = GetTemplateChild(ElementNextButton) as
Button
;
175
_headerButton = GetTemplateChild(ElementHeaderButton) as
Button
;
System\Windows\Controls\StickyNote.cs (10)
70
[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(
Button
))]
74
[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(
Button
))]
196
Button
button = GetIconButton();
204
Button
closeButton = GetCloseButton();
712
private
Button
GetCloseButton()
714
return GetTemplateChild(SNBConstants.c_CloseButtonId) as
Button
;
720
private
Button
GetIconButton()
722
return GetTemplateChild(SNBConstants.c_IconButtonId) as
Button
;
1302
Button
closeButton = GetCloseButton();
1308
Button
iconButton = GetIconButton();
System\Windows\Controls\ToolBar.cs (1)
478
if (feType == typeof(
Button
))
System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
102
sd._winFXVersion = typeof(System.Windows.Controls.
Button
).Assembly.GetName().Version;
207
if (typeof(System.Windows.Controls.
Button
).Assembly.GetName().Version == sd._winFXVersion &&
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
151
case 55: t = () => typeof(
Button
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4179
Type type = typeof(System.Windows.Controls.
Button
);
4180
DependencyProperty dp = System.Windows.Controls.
Button
.ContentProperty;
4182
this.GetXamlType(typeof(System.Windows.Controls.
Button
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2297
typeof(System.Windows.Controls.
Button
),
System\Windows\Markup\KnownTypes.cs (1)
5609
case KnownElements.Button: t = typeof(System.Windows.Controls.
Button
); break;
PresentationUI (56)
artifacts\obj\PresentationUI\Debug\net9.0\InstallationError.g.cs (6)
82
internal System.Windows.Controls.
Button
LogFileButton;
90
internal System.Windows.Controls.
Button
RetryButton;
98
internal System.Windows.Controls.
Button
GetWinFXButton;
149
this.LogFileButton = ((System.Windows.Controls.
Button
)(target));
158
this.RetryButton = ((System.Windows.Controls.
Button
)(target));
167
this.GetWinFXButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\PresentationUI\Debug\net9.0\MS\Internal\Documents\FindToolBar.g.cs (4)
90
internal System.Windows.Controls.
Button
FindPreviousButton;
98
internal System.Windows.Controls.
Button
FindNextButton;
220
this.FindPreviousButton = ((System.Windows.Controls.
Button
)(target));
229
this.FindNextButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\PresentationUI\Debug\net9.0\TenFeetInstallationError.g.cs (6)
90
internal System.Windows.Controls.
Button
LogFileButton;
98
internal System.Windows.Controls.
Button
RetryButton;
106
internal System.Windows.Controls.
Button
GetWinFXButton;
160
this.LogFileButton = ((System.Windows.Controls.
Button
)(target));
169
this.RetryButton = ((System.Windows.Controls.
Button
)(target));
178
this.GetWinFXButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\PresentationUI\Debug\net9.0\TenFeetInstallationProgress.g.cs (2)
98
internal System.Windows.Controls.
Button
CancelButton;
155
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
45
public StatusInfoItem(StatusInfoItemType type,
Button
infoBarButton, Control toolBarControl)
203
private
Button
_infoBarButton;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (36)
745
private
Button
PageUpButton
752
_pageUpButton = GetTemplateChild(_pageUpButtonName) as
Button
;
797
private
Button
PageDownButton
804
_pageDownButton = GetTemplateChild(_pageDownButtonName) as
Button
;
813
private
Button
ActualSizeButton
820
_actualSizeButton = GetTemplateChild(_actualSizeButtonName) as
Button
;
829
private
Button
PageWidthButton
836
_pageWidthButton = GetTemplateChild(_pageWidthButtonName) as
Button
;
845
private
Button
WholePageButton
852
_wholePageButton = GetTemplateChild(_wholePageButtonName) as
Button
;
862
private
Button
TwoPageButton
869
_twoPageButton = GetTemplateChild(_twoPageButtonName) as
Button
;
878
private
Button
ThumbnailButton
885
_thumbnailButton = GetTemplateChild(_thumbnailButtonName) as
Button
;
894
private
Button
RMButton
901
_rmButton = GetTemplateChild(_rmButtonName) as
Button
;
910
private
Button
SaveAsButton
917
_saveAsButton = GetTemplateChild(_saveAsButtonName) as
Button
;
958
private
Button
InfoBarCloseButton
967
as
Button
;
981
private
Button
InfoBarDigSigButton
989
_infoBarDigSigButton = GetTemplateChild(_infoBarSignaturesButtonName) as
Button
;
1006
private
Button
InfoBarRMButton
1014
_infoBarRMButton = GetTemplateChild(_infoBarRMButtonName) as
Button
;
2220
private
Button
_pageUpButton;
2222
private
Button
_pageDownButton;
2223
private
Button
_actualSizeButton;
2224
private
Button
_pageWidthButton;
2225
private
Button
_wholePageButton;
2226
private
Button
_twoPageButton;
2227
private
Button
_thumbnailButton;
2228
private
Button
_saveAsButton;
2229
private
Button
_rmButton;
2233
private
Button
_infoBarDigSigButton;
2234
private
Button
_infoBarRMButton;
2235
private
Button
_infoBarCloseButton;