3 types derived from Button
PresentationFramework (2)
System\Windows\Controls\Primitives\CalendarButton.cs (1)
12
public sealed class CalendarButton :
Button
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
13
public sealed class CalendarDayButton :
Button
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
31
public class RibbonButton :
Button
2 instantiations of Button
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2379
DefaultConstructor = delegate () { return new System.Windows.Controls.
Button
(); },
System\Windows\Markup\KnownTypes.cs (1)
1147
case KnownElements.Button: o = new System.Windows.Controls.
Button
(); break;
116 references to Button
PresentationFramework (60)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
14
public ButtonAutomationPeer(
Button
owner): base(owner)
47
((
Button
)Owner).AutomationButtonBaseClick();
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
147
Button
owningButton = child as
Button
;
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
20
public CalendarButtonAutomationPeer(
Button
owner)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (9)
92
internal
Button
OwningButton
116
Button
owningButton = OwningButton;
349
Button
owningButton = OwningButton;
631
Button
owningButton = OwningButton;
650
Button
owningButton = OwningButton;
680
Button
owningButton = OwningButton;
709
Button
owningButton = OwningButton;
809
Button
owningButton = OwningButton;
864
Button
owningButton = OwningButton;
System\Windows\Controls\Button.cs (13)
23
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Button
), new FrameworkPropertyMetadata(typeof(
Button
)));
24
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Button
));
30
IsEnabledProperty.OverrideMetadata(typeof(
Button
), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged)));
59
= DependencyProperty.Register("IsDefault", typeof(bool), typeof(
Button
),
75
Button
b = d as
Button
;
100
Button
b = ((
Button
)d);
122
typeof(
Button
),
139
Button
b = d as
Button
;
158
= DependencyProperty.RegisterReadOnly("IsDefaulted", typeof(bool), typeof(
Button
),
System\Windows\Controls\DatePicker.cs (2)
23
[TemplatePart(Name = DatePicker.ElementButton, Type = typeof(
Button
))]
693
_dropDownButton = GetTemplateChild(ElementButton) as
Button
;
System\Windows\Controls\Primitives\CalendarItem.cs (12)
12
[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(
Button
))]
13
[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(
Button
))]
14
[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(
Button
))]
46
private
Button
_headerButton;
48
private
Button
_nextButton;
49
private
Button
_previousButton;
106
internal
Button
HeaderButton
114
internal
Button
NextButton
122
internal
Button
PreviousButton
156
_previousButton = GetTemplateChild(ElementPreviousButton) as
Button
;
157
_nextButton = GetTemplateChild(ElementNextButton) as
Button
;
158
_headerButton = GetTemplateChild(ElementHeaderButton) as
Button
;
System\Windows\Controls\StickyNote.cs (10)
42
[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(
Button
))]
46
[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(
Button
))]
168
Button
button = GetIconButton();
173
Button
closeButton = GetCloseButton();
678
private
Button
GetCloseButton()
680
return GetTemplateChild(SNBConstants.c_CloseButtonId) as
Button
;
686
private
Button
GetIconButton()
688
return GetTemplateChild(SNBConstants.c_IconButtonId) as
Button
;
1263
Button
closeButton = GetCloseButton();
1266
Button
iconButton = GetIconButton();
System\Windows\Controls\ToolBar.cs (1)
462
if (feType == typeof(
Button
))
System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
97
sd._winFXVersion = typeof(System.Windows.Controls.
Button
).Assembly.GetName().Version;
202
if (typeof(System.Windows.Controls.
Button
).Assembly.GetName().Version == sd._winFXVersion &&
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
148
case 55: t = () => typeof(
Button
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4400
Type type = typeof(System.Windows.Controls.
Button
);
4401
DependencyProperty dp = System.Windows.Controls.
Button
.ContentProperty;
4403
this.GetXamlType(typeof(System.Windows.Controls.
Button
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2376
typeof(System.Windows.Controls.
Button
),
System\Windows\Markup\KnownTypes.cs (1)
5602
case KnownElements.Button: t = typeof(System.Windows.Controls.
Button
); break;
PresentationUI (56)
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
41
public StatusInfoItem(StatusInfoItemType type,
Button
infoBarButton, Control toolBarControl)
190
private
Button
_infoBarButton;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (36)
732
private
Button
PageUpButton
739
_pageUpButton = GetTemplateChild(_pageUpButtonName) as
Button
;
788
private
Button
PageDownButton
795
_pageDownButton = GetTemplateChild(_pageDownButtonName) as
Button
;
804
private
Button
ActualSizeButton
811
_actualSizeButton = GetTemplateChild(_actualSizeButtonName) as
Button
;
820
private
Button
PageWidthButton
827
_pageWidthButton = GetTemplateChild(_pageWidthButtonName) as
Button
;
836
private
Button
WholePageButton
843
_wholePageButton = GetTemplateChild(_wholePageButtonName) as
Button
;
853
private
Button
TwoPageButton
860
_twoPageButton = GetTemplateChild(_twoPageButtonName) as
Button
;
869
private
Button
ThumbnailButton
876
_thumbnailButton = GetTemplateChild(_thumbnailButtonName) as
Button
;
885
private
Button
RMButton
892
_rmButton = GetTemplateChild(_rmButtonName) as
Button
;
901
private
Button
SaveAsButton
908
_saveAsButton = GetTemplateChild(_saveAsButtonName) as
Button
;
949
private
Button
InfoBarCloseButton
957
_infoBarCloseButton = GetTemplateChild(_infoBarCloseButtonName) as
Button
;
968
private
Button
InfoBarDigSigButton
976
_infoBarDigSigButton = GetTemplateChild(_infoBarSignaturesButtonName) as
Button
;
993
private
Button
InfoBarRMButton
1001
_infoBarRMButton = GetTemplateChild(_infoBarRMButtonName) as
Button
;
2206
private
Button
_pageUpButton;
2208
private
Button
_pageDownButton;
2209
private
Button
_actualSizeButton;
2210
private
Button
_pageWidthButton;
2211
private
Button
_wholePageButton;
2212
private
Button
_twoPageButton;
2213
private
Button
_thumbnailButton;
2214
private
Button
_saveAsButton;
2215
private
Button
_rmButton;
2219
private
Button
_infoBarDigSigButton;
2220
private
Button
_infoBarRMButton;
2221
private
Button
_infoBarCloseButton;
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.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));
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.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));
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.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));
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.0\TenFeetInstallationProgress.g.cs (2)
98
internal System.Windows.Controls.
Button
CancelButton;
155
this.CancelButton = ((System.Windows.Controls.
Button
)(target));