Button
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

A Button control reacts to user input from a mouse, keyboard, stylus, or other input device and raises a Click event. You can change how the button raises the ButtonBase..::.Click event by changing the ClickMode property. A button is a content control that can contain text and images.

The topics in this section describe the additional concepts and techniques that you can use to build Button control features into your applications.

To view a running sample of the Button control, click the following link.

Run this sample

In This Section

You can accomplish the following tasks with the example code at the specified location.

Task

Example location

Responding to a Click event.

Click

Changing the way a button responds to user input.

ClickMode

Disabling a button.

IsEnabled

Using styles with the Button control.

Button Styles and Templates

Reference

Button

ButtonBase

ClickMode

See Also

Other Resources

Page view tracker