Adding buttons (Windows Store apps using JavaScript and HTML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
1 out of 4 rated this helpful - Rate this topic

Use a button control to commit a command, like submitting or resetting a form. Buttons offer a simple way to trigger a command.

Standard button

The standard button triggers an action that is defined by the developer.

A standard button
Submit button

The submit button submits a form that the user has filled out to the server, or triggers an action. It is activated when the user clicks the button or when the user presses the Enter key while the focus is on another control on the same form, except when that control is another button.

A submit button
Reset button

The reset button clears all the fields of a form so that the user can start over again. It has the same default style as the standard button.

A reset button

In this section

TopicDescription

Quickstart: Adding a button

Learn how to create different types of button controls.

How to style buttons

Learn how to use Cascading Style Sheets (CSS) and the Windows Library for JavaScript style sheets to style button controls.

Guidelines and checklist for buttons

Guidelines for adding buttons to your Windows Store app using JavaScript.

 

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.