Files
docs-desktop/dotnet-desktop-guide/framework/wpf/controls/button.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

24 lines
1.1 KiB
Markdown

---
title: "Button"
ms.date: "03/30/2017"
f1_keywords:
- "AutoGeneratedOrientationPage"
helpviewer_keywords:
- "controls [WPF], Button"
- "Button control [WPF]"
ms.assetid: a9d8f5a5-c98c-463e-808a-5a4e63173098
---
# Button
A <xref:System.Windows.Controls.Button> control reacts to user input from a mouse, keyboard, stylus, or other input device and raises a <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event. A <xref:System.Windows.Controls.Button> is a basic [!INCLUDE[TLA#tla_ui](../../../includes/tlasharptla-ui-md.md)] component that can contain simple content, such as text, and can also contain complex content, such as images and <xref:System.Windows.Controls.Panel> controls.
![Button states](./media/ss-ctl-buttons.png "SS_CTL_buttons")
## In This Section
[Create a Button That Has an Image](how-to-create-a-button-that-has-an-image.md)
## Reference
<xref:System.Windows.Controls.Button>
<xref:System.Windows.Controls.Primitives.ButtonBase>
<xref:System.Windows.Controls.RadioButton>
<xref:System.Windows.Controls.Primitives.RepeatButton>