4 types derived from Button
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
26
internal sealed class InheritanceMarginGlyph :
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
7 instantiations of Button
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
333
var button = new
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;
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\InternalOptionsControl.cs (4)
43
var searchButton = new
Button
() { Content = "Search" };
67
var clearButton = new
Button
() { Content = "Clear" };
82
var checkAllButton = new
Button
() { Content = "Check All" };
85
var uncheckAllButton = new
Button
() { Content = "Uncheck All" };
212 references to Button
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\Adornment\RenameFlyout.g.cs (2)
86
internal System.Windows.Controls.
Button
ToggleExpandButton;
185
this.ToggleExpandButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.g.cs (1)
118
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.GetSuggestionsButtonClick);
Microsoft.VisualStudio.LanguageServices (76)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\CommonControls\MemberSelection.g.cs (8)
71
internal System.Windows.Controls.
Button
SelectAllButton;
79
internal System.Windows.Controls.
Button
DeselectAllButton;
87
internal System.Windows.Controls.
Button
SelecDependentsButton;
95
internal System.Windows.Controls.
Button
SelectPublicButton;
141
this.SelectAllButton = ((System.Windows.Controls.
Button
)(target));
150
this.DeselectAllButton = ((System.Windows.Controls.
Button
)(target));
159
this.SelecDependentsButton = ((System.Windows.Controls.
Button
)(target));
168
this.SelectPublicButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ErrorReporting\DetailedErrorInfoDialog.g.cs (4)
54
internal System.Windows.Controls.
Button
CopyButton;
62
internal System.Windows.Controls.
Button
CloseButton;
102
this.CopyButton = ((System.Windows.Controls.
Button
)(target));
111
this.CloseButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ExtractClass\ExtractClassDialog.g.cs (4)
61
internal System.Windows.Controls.
Button
OKButton;
69
internal System.Windows.Controls.
Button
CancelButton;
119
this.OKButton = ((System.Windows.Controls.
Button
)(target));
128
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ExtractInterface\ExtractInterfaceDialog.g.cs (4)
71
internal System.Windows.Controls.
Button
OKButton;
79
internal System.Windows.Controls.
Button
CancelButton;
132
this.OKButton = ((System.Windows.Controls.
Button
)(target));
141
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\GenerateType\GenerateTypeDialog.g.cs (4)
156
internal System.Windows.Controls.
Button
OKButton;
164
internal System.Windows.Controls.
Button
CancelButton;
249
this.OKButton = ((System.Windows.Controls.
Button
)(target));
258
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\MoveStaticMembersDialog.g.cs (4)
110
internal System.Windows.Controls.
Button
OKButton;
118
internal System.Windows.Controls.
Button
CancelButton;
179
this.OKButton = ((System.Windows.Controls.
Button
)(target));
188
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\StaticMemberSelection.g.cs (6)
61
internal System.Windows.Controls.
Button
SelectAllButton;
69
internal System.Windows.Controls.
Button
DeselectAllButton;
77
internal System.Windows.Controls.
Button
SelectDependentsButton;
120
this.SelectAllButton = ((System.Windows.Controls.
Button
)(target));
129
this.DeselectAllButton = ((System.Windows.Controls.
Button
)(target));
138
this.SelectDependentsButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveToNamespace\MoveToNamespaceDialog.g.cs (4)
93
internal System.Windows.Controls.
Button
OKButton;
101
internal System.Windows.Controls.
Button
CancelButton;
156
this.OKButton = ((System.Windows.Controls.
Button
)(target));
165
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PickMembers\PickMembersDialog.g.cs (10)
71
internal System.Windows.Controls.
Button
UpButton;
87
internal System.Windows.Controls.
Button
DownButton;
103
internal System.Windows.Controls.
Button
OKButton;
111
internal System.Windows.Controls.
Button
CancelButton;
186
this.UpButton = ((System.Windows.Controls.
Button
)(target));
192
this.DownButton = ((System.Windows.Controls.
Button
)(target));
200
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.Select_All_Click);
208
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.Deselect_All_Click);
214
this.OKButton = ((System.Windows.Controls.
Button
)(target));
223
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
166
internal System.Windows.Controls.
Button
OptionsButton;
271
this.OptionsButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PullMemberUp\MainDialog\PullMemberUpDialog.g.cs (4)
78
internal System.Windows.Controls.
Button
OKButton;
86
internal System.Windows.Controls.
Button
CancelButton;
141
this.OKButton = ((System.Windows.Controls.
Button
)(target));
150
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PullMemberUp\WarningDialog\PullMemberUpWarningDialog.g.cs (2)
108
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.FinishButton_Click);
116
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\StackTraceExplorer\StackTraceExplorerRoot.g.cs (2)
55
internal System.Windows.Controls.
Button
ClearButton;
103
this.ClearButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\UnusedReferences\Dialog\RemoveUnusedReferencesDialog.g.cs (4)
62
internal System.Windows.Controls.
Button
ApplyButton;
70
internal System.Windows.Controls.
Button
CancelButton;
113
this.ApplyButton = ((System.Windows.Controls.
Button
)(target));
122
this.CancelButton = ((System.Windows.Controls.
Button
)(target));
ExtractInterface\ExtractInterfaceDialog.xaml.cs (4)
66
public
Button
OKButton => _dialog.OKButton;
68
public
Button
CancelButton => _dialog.CancelButton;
70
public
Button
SelectAllButton => _dialog.MemberSelectionControl.SelectAllButton;
72
public
Button
DeselectAllButton => _dialog.MemberSelectionControl.DeselectAllButton;
GenerateType\GenerateTypeDialog.xaml.cs (2)
123
public
Button
OKButton => _dialog.OKButton;
125
public
Button
CancelButton => _dialog.CancelButton;
MoveStaticMembers\MoveStaticMembersDialog.xaml.cs (2)
57
public
Button
OKButton => _dialog.OKButton;
58
public
Button
CancelButton => _dialog.CancelButton;
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (2)
56
public
Button
OKButton => _dialog.OKButton;
57
public
Button
CancelButton => _dialog.CancelButton;
PickMembers\PickMembersDialog.xaml.cs (4)
159
public
Button
OKButton => _dialog.OKButton;
161
public
Button
CancelButton => _dialog.CancelButton;
163
public
Button
UpButton => _dialog.UpButton;
165
public
Button
DownButton => _dialog.DownButton;
Microsoft.VisualStudio.LanguageServices.CSharp (4)
SemanticSearch\SemanticSearchToolWindowImpl.cs (4)
85
private
Button
? _executeButton;
86
private
Button
? _cancelButton;
308
private static
Button
CreateButton(
333
var
button = new 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)
95
internal
Button
OwningButton
119
Button
owningButton = OwningButton;
352
Button
owningButton = OwningButton;
634
Button
owningButton = OwningButton;
653
Button
owningButton = OwningButton;
683
Button
owningButton = OwningButton;
712
Button
owningButton = OwningButton;
812
Button
owningButton = OwningButton;
867
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
167
_previousButton = GetTemplateChild(ElementPreviousButton) as
Button
;
168
_nextButton = GetTemplateChild(ElementNextButton) as
Button
;
169
_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;
PresentationFramework.Tests (2)
System\Windows\ResourceDictionaryTests.cs (2)
51
style!.TargetType.Should().Be(typeof(
Button
));
65
t.Property ==
Button
.IsMouseOverProperty &&
PresentationUI (56)
artifacts\obj\PresentationUI\x86\Debug\net10.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\x86\Debug\net10.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\x86\Debug\net10.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\x86\Debug\net10.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)
41
public StatusInfoItem(StatusInfoItemType type,
Button
infoBarButton, Control toolBarControl)
199
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
958
as
Button
;
972
private
Button
InfoBarDigSigButton
980
_infoBarDigSigButton = GetTemplateChild(_infoBarSignaturesButtonName) as
Button
;
997
private
Button
InfoBarRMButton
1005
_infoBarRMButton = GetTemplateChild(_infoBarRMButtonName) as
Button
;
2210
private
Button
_pageUpButton;
2212
private
Button
_pageDownButton;
2213
private
Button
_actualSizeButton;
2214
private
Button
_pageWidthButton;
2215
private
Button
_wholePageButton;
2216
private
Button
_twoPageButton;
2217
private
Button
_thumbnailButton;
2218
private
Button
_saveAsButton;
2219
private
Button
_rmButton;
2223
private
Button
_infoBarDigSigButton;
2224
private
Button
_infoBarRMButton;
2225
private
Button
_infoBarCloseButton;
Roslyn.VisualStudio.DiagnosticsWindow (11)
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\TelemetryPanel.g.cs (4)
61
internal System.Windows.Controls.
Button
DumpButton;
69
internal System.Windows.Controls.
Button
CopyButton;
111
this.DumpButton = ((System.Windows.Controls.
Button
)(target));
120
this.CopyButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\WorkspacePanel.g.cs (2)
61
internal System.Windows.Controls.
Button
DiagnoseButton;
103
this.DiagnoseButton = ((System.Windows.Controls.
Button
)(target));
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\VenusMargin\ProjectionBufferMargin.g.cs (1)
97
((System.Windows.Controls.
Button
)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
OptionPages\InternalOptionsControl.cs (4)
43
var
searchButton = new Button() { Content = "Search" };
67
var
clearButton = new Button() { Content = "Clear" };
82
var
checkAllButton = new Button() { Content = "Check All" };
85
var
uncheckAllButton = new Button() { Content = "Uncheck All" };