4 types derived from Button
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
26internal class InheritanceMarginGlyph : Button
PresentationFramework (2)
System\Windows\Controls\Primitives\CalendarButton.cs (1)
13public sealed class CalendarButton : Button
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
14public sealed class CalendarDayButton : Button
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
32public class RibbonButton : Button
8 instantiations of Button
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
200var button = new Button()
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2297bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Button(); };
System\Windows\Markup\KnownTypes.cs (1)
1154case KnownElements.Button: o = new System.Windows.Controls.Button(); break;
PresentationFramework.Fluent.Tests (1)
System\Windows\Controls\ButtonTests.cs (1)
11Button _ = new();
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\InternalOptionsControl.cs (4)
43var searchButton = new Button() { Content = "Search" }; 67var clearButton = new Button() { Content = "Clear" }; 82var checkAllButton = new Button() { Content = "Check All" }; 85var uncheckAllButton = new Button() { Content = "Uncheck All" };
215 references to Button
Microsoft.CodeAnalysis.EditorFeatures.Wpf (7)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\Adornment\RenameFlyout.g.cs (2)
86internal System.Windows.Controls.Button ToggleExpandButton; 185this.ToggleExpandButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\Dashboard\RenameDashboard.g.cs (4)
52internal System.Windows.Controls.Button CloseButton; 148internal System.Windows.Controls.Button ApplyButton; 203this.CloseButton = ((System.Windows.Controls.Button)(target)); 245this.ApplyButton = ((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)
71internal System.Windows.Controls.Button SelectAllButton; 79internal System.Windows.Controls.Button DeselectAllButton; 87internal System.Windows.Controls.Button SelecDependentsButton; 95internal System.Windows.Controls.Button SelectPublicButton; 141this.SelectAllButton = ((System.Windows.Controls.Button)(target)); 150this.DeselectAllButton = ((System.Windows.Controls.Button)(target)); 159this.SelecDependentsButton = ((System.Windows.Controls.Button)(target)); 168this.SelectPublicButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ErrorReporting\DetailedErrorInfoDialog.g.cs (4)
54internal System.Windows.Controls.Button CopyButton; 62internal System.Windows.Controls.Button CloseButton; 102this.CopyButton = ((System.Windows.Controls.Button)(target)); 111this.CloseButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ExtractClass\ExtractClassDialog.g.cs (4)
61internal System.Windows.Controls.Button OKButton; 69internal System.Windows.Controls.Button CancelButton; 119this.OKButton = ((System.Windows.Controls.Button)(target)); 128this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ExtractInterface\ExtractInterfaceDialog.g.cs (4)
71internal System.Windows.Controls.Button OKButton; 79internal System.Windows.Controls.Button CancelButton; 132this.OKButton = ((System.Windows.Controls.Button)(target)); 141this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\GenerateType\GenerateTypeDialog.g.cs (4)
156internal System.Windows.Controls.Button OKButton; 164internal System.Windows.Controls.Button CancelButton; 249this.OKButton = ((System.Windows.Controls.Button)(target)); 258this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\MoveStaticMembersDialog.g.cs (4)
110internal System.Windows.Controls.Button OKButton; 118internal System.Windows.Controls.Button CancelButton; 179this.OKButton = ((System.Windows.Controls.Button)(target)); 188this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\StaticMemberSelection.g.cs (6)
61internal System.Windows.Controls.Button SelectAllButton; 69internal System.Windows.Controls.Button DeselectAllButton; 77internal System.Windows.Controls.Button SelectDependentsButton; 120this.SelectAllButton = ((System.Windows.Controls.Button)(target)); 129this.DeselectAllButton = ((System.Windows.Controls.Button)(target)); 138this.SelectDependentsButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveToNamespace\MoveToNamespaceDialog.g.cs (4)
93internal System.Windows.Controls.Button OKButton; 101internal System.Windows.Controls.Button CancelButton; 156this.OKButton = ((System.Windows.Controls.Button)(target)); 165this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PickMembers\PickMembersDialog.g.cs (10)
71internal System.Windows.Controls.Button UpButton; 87internal System.Windows.Controls.Button DownButton; 103internal System.Windows.Controls.Button OKButton; 111internal System.Windows.Controls.Button CancelButton; 186this.UpButton = ((System.Windows.Controls.Button)(target)); 192this.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); 214this.OKButton = ((System.Windows.Controls.Button)(target)); 223this.CancelButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
166internal System.Windows.Controls.Button OptionsButton; 271this.OptionsButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PullMemberUp\MainDialog\PullMemberUpDialog.g.cs (4)
78internal System.Windows.Controls.Button OKButton; 86internal System.Windows.Controls.Button CancelButton; 141this.OKButton = ((System.Windows.Controls.Button)(target)); 150this.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)
55internal System.Windows.Controls.Button ClearButton; 103this.ClearButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\UnusedReferences\Dialog\RemoveUnusedReferencesDialog.g.cs (4)
62internal System.Windows.Controls.Button ApplyButton; 70internal System.Windows.Controls.Button CancelButton; 113this.ApplyButton = ((System.Windows.Controls.Button)(target)); 122this.CancelButton = ((System.Windows.Controls.Button)(target));
ExtractInterface\ExtractInterfaceDialog.xaml.cs (4)
68public Button OKButton => _dialog.OKButton; 70public Button CancelButton => _dialog.CancelButton; 72public Button SelectAllButton => _dialog.MemberSelectionControl.SelectAllButton; 74public Button DeselectAllButton => _dialog.MemberSelectionControl.DeselectAllButton;
GenerateType\GenerateTypeDialog.xaml.cs (2)
125public Button OKButton => _dialog.OKButton; 127public Button CancelButton => _dialog.CancelButton;
MoveStaticMembers\MoveStaticMembersDialog.xaml.cs (2)
57public Button OKButton => _dialog.OKButton; 58public Button CancelButton => _dialog.CancelButton;
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (2)
58public Button OKButton => _dialog.OKButton; 59public Button CancelButton => _dialog.CancelButton;
PickMembers\PickMembersDialog.xaml.cs (4)
159public Button OKButton => _dialog.OKButton; 161public Button CancelButton => _dialog.CancelButton; 163public Button UpButton => _dialog.UpButton; 165public Button DownButton => _dialog.DownButton;
Microsoft.VisualStudio.LanguageServices.CSharp (4)
SemanticSearch\SemanticSearchToolWindowImpl.cs (4)
85private Button? _executeButton; 86private Button? _cancelButton; 175private static Button CreateButton( 200var button = new Button()
PresentationFramework (60)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
15public ButtonAutomationPeer(Button owner): base(owner) 48((Button)Owner).AutomationButtonBaseClick();
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
148Button owningButton = child as Button;
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
21public CalendarButtonAutomationPeer(Button owner)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (9)
96internal Button OwningButton 120Button owningButton = OwningButton; 353Button owningButton = OwningButton; 635Button owningButton = OwningButton; 654Button owningButton = OwningButton; 684Button owningButton = OwningButton; 713Button owningButton = OwningButton; 813Button owningButton = OwningButton; 868Button owningButton = OwningButton;
System\Windows\Controls\Button.cs (13)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 25_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Button)); 31IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 60= DependencyProperty.Register("IsDefault", typeof(bool), typeof(Button), 76Button b = d as Button; 101Button b = ((Button)d); 123typeof(Button), 140Button b = d as Button; 159= DependencyProperty.RegisterReadOnly("IsDefaulted", typeof(bool), typeof(Button),
System\Windows\Controls\DatePicker.cs (2)
24[TemplatePart(Name = DatePicker.ElementButton, Type = typeof(Button))] 694_dropDownButton = GetTemplateChild(ElementButton) as Button;
System\Windows\Controls\Primitives\CalendarItem.cs (12)
13[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(Button))] 14[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(Button))] 15[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(Button))] 47private Button _headerButton; 49private Button _nextButton; 50private Button _previousButton; 107internal Button HeaderButton 115internal Button NextButton 123internal Button PreviousButton 168_previousButton = GetTemplateChild(ElementPreviousButton) as Button; 169_nextButton = GetTemplateChild(ElementNextButton) as Button; 170_headerButton = GetTemplateChild(ElementHeaderButton) as Button;
System\Windows\Controls\StickyNote.cs (10)
54[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(Button))] 58[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(Button))] 180Button button = GetIconButton(); 188Button closeButton = GetCloseButton(); 696private Button GetCloseButton() 698return GetTemplateChild(SNBConstants.c_CloseButtonId) as Button; 704private Button GetIconButton() 706return GetTemplateChild(SNBConstants.c_IconButtonId) as Button; 1286Button closeButton = GetCloseButton(); 1292Button iconButton = GetIconButton();
System\Windows\Controls\ToolBar.cs (1)
469if (feType == typeof(Button))
System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
97sd._winFXVersion = typeof(System.Windows.Controls.Button).Assembly.GetName().Version; 202if (typeof(System.Windows.Controls.Button).Assembly.GetName().Version == sd._winFXVersion &&
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
149case 55: t = () => typeof(Button); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4177Type type = typeof(System.Windows.Controls.Button); 4178DependencyProperty dp = System.Windows.Controls.Button.ContentProperty; 4180this.GetXamlType(typeof(System.Windows.Controls.Button)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2295typeof(System.Windows.Controls.Button),
System\Windows\Markup\KnownTypes.cs (1)
5609case KnownElements.Button: t = typeof(System.Windows.Controls.Button); break;
PresentationFramework.Fluent.Tests (1)
System\Windows\Controls\ButtonTests.cs (1)
11Button _ = new();
PresentationUI (56)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (6)
82internal System.Windows.Controls.Button LogFileButton; 90internal System.Windows.Controls.Button RetryButton; 98internal System.Windows.Controls.Button GetWinFXButton; 149this.LogFileButton = ((System.Windows.Controls.Button)(target)); 158this.RetryButton = ((System.Windows.Controls.Button)(target)); 167this.GetWinFXButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\MS\Internal\Documents\FindToolBar.g.cs (4)
90internal System.Windows.Controls.Button FindPreviousButton; 98internal System.Windows.Controls.Button FindNextButton; 220this.FindPreviousButton = ((System.Windows.Controls.Button)(target)); 229this.FindNextButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\TenFeetInstallationError.g.cs (6)
90internal System.Windows.Controls.Button LogFileButton; 98internal System.Windows.Controls.Button RetryButton; 106internal System.Windows.Controls.Button GetWinFXButton; 160this.LogFileButton = ((System.Windows.Controls.Button)(target)); 169this.RetryButton = ((System.Windows.Controls.Button)(target)); 178this.GetWinFXButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\TenFeetInstallationProgress.g.cs (2)
98internal System.Windows.Controls.Button CancelButton; 155this.CancelButton = ((System.Windows.Controls.Button)(target));
MS\Internal\Documents\Application\StatusInfoItem.cs (2)
42public StatusInfoItem(StatusInfoItemType type, Button infoBarButton, Control toolBarControl) 200private Button _infoBarButton;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (36)
736private Button PageUpButton 743_pageUpButton = GetTemplateChild(_pageUpButtonName) as Button; 788private Button PageDownButton 795_pageDownButton = GetTemplateChild(_pageDownButtonName) as Button; 804private Button ActualSizeButton 811_actualSizeButton = GetTemplateChild(_actualSizeButtonName) as Button; 820private Button PageWidthButton 827_pageWidthButton = GetTemplateChild(_pageWidthButtonName) as Button; 836private Button WholePageButton 843_wholePageButton = GetTemplateChild(_wholePageButtonName) as Button; 853private Button TwoPageButton 860_twoPageButton = GetTemplateChild(_twoPageButtonName) as Button; 869private Button ThumbnailButton 876_thumbnailButton = GetTemplateChild(_thumbnailButtonName) as Button; 885private Button RMButton 892_rmButton = GetTemplateChild(_rmButtonName) as Button; 901private Button SaveAsButton 908_saveAsButton = GetTemplateChild(_saveAsButtonName) as Button; 949private Button InfoBarCloseButton 958as Button; 972private Button InfoBarDigSigButton 980_infoBarDigSigButton = GetTemplateChild(_infoBarSignaturesButtonName) as Button; 997private Button InfoBarRMButton 1005_infoBarRMButton = GetTemplateChild(_infoBarRMButtonName) as Button; 2211private Button _pageUpButton; 2213private Button _pageDownButton; 2214private Button _actualSizeButton; 2215private Button _pageWidthButton; 2216private Button _wholePageButton; 2217private Button _twoPageButton; 2218private Button _thumbnailButton; 2219private Button _saveAsButton; 2220private Button _rmButton; 2224private Button _infoBarDigSigButton; 2225private Button _infoBarRMButton; 2226private Button _infoBarCloseButton;
Roslyn.VisualStudio.DiagnosticsWindow (11)
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\TelemetryPanel.g.cs (4)
61internal System.Windows.Controls.Button DumpButton; 69internal System.Windows.Controls.Button CopyButton; 111this.DumpButton = ((System.Windows.Controls.Button)(target)); 120this.CopyButton = ((System.Windows.Controls.Button)(target));
artifacts\obj\Roslyn.VisualStudio.DiagnosticsWindow\Release\net472\Panels\WorkspacePanel.g.cs (2)
61internal System.Windows.Controls.Button DiagnoseButton; 103this.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)
43var searchButton = new Button() { Content = "Search" }; 67var clearButton = new Button() { Content = "Clear" }; 82var checkAllButton = new Button() { Content = "Check All" }; 85var uncheckAllButton = new Button() { Content = "Uncheck All" };