Buttons are graphical components that have immediate reactive behavior. When tapped, pressed or selected, they show real-time feedback. Buttons can be used in different layout areas: Application content area and Dialogs. They consist of text label or graphic icon and are used only for initiating actions. Don't use buttons to set state, use Check box instead.
Touch-down event changes its appearance to the pressed state. Releasing the button performs the action and dragging off the button and releasing the press cancels the action. Buttons can be disabled based on the context of the application. Disabled buttons have a grey background and show the disabled state of the button rather than hiding it altogether. Segmented buttons are not supported.
Content Area Textual Button
Content Area Graphical Button
|
Toolbar area graphical button
|
|
Highlighted buttons are optional and need to be styled by developer. Use highlighted button if you need to provide a button that performs a potentially destructive action, e.g. delete action will cause data loss and user may not be able to find the data back.
Below is a dialog with th default action button in the dialog and an example of deleting messages from the Inbox