Adding buttons (XAML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

Use a button control to let users commit a command, like submitting or resetting a form. The topics in this section describe how to create and use buttons.

Roadmap: How does this topic relate to others? See:

The Button control in the XAML UI framework provides a Click event to respond to user input from a touch, mouse, keyboard, stylus, or other input device. You can put different kinds of content in a button, such as text or an image, or you can restyle a button to give it a new look. The RepeatButton control is like the Button, except that the Click event occurs continuously while the user presses the RepeatButton.

The HyperlinkButton control looks like hyperlink text. It automatically opens a web page you specify in its NavigateUri property.

In this section

Topic Description

Quickstart: Adding button controls

Button controls provide a way for users to commit a command or perform an action, like submitting or resetting a form. This quickstart walks you through the steps to add a button control to a Windows Runtime app using C++, C#, or Visual Basic.

How to add a button

This tutorial walks you through the steps to add a button control to a Windows Store app using C++, C#, or Visual Basic.

Button styles and templates

This topic describes the styles and templates for the Button control.

HyperlinkButton styles and templates

This topic describes the styles and templates for the HyperlinkButton control.

RepeatButton styles and templates

This topic describes the styles and templates for the RepeatButton control.

ToggleButton styles and templates

This topic describes the styles and templates for the ToggleButton control.

 

Roadmap for Windows Runtime apps using C# or Visual Basic

Roadmap for Windows Runtime apps using C++