enum sap.m.ButtonType

Control sample: sap.m.ButtonType
Visiblity: public
Available since: N/A
Module: sap/m/library
Application Component: CA-UI5-CTR

Different predefined button types for the sap.m.Button.


Properties Overview

Node Description
sap.m.ButtonType.Accept

Accept type

sap.m.ButtonType.Attention

Attention type

sap.m.ButtonType.Back

Back type (back navigation button for header)

sap.m.ButtonType.Critical

Critical type

Note: To be used only in controls of type sap.m.Button. When the button opens a sap.m.MessagePopover list, use this ButtonType if the message with the highest severity is Warning type.

sap.m.ButtonType.Default

Default type (no special styling)

sap.m.ButtonType.Emphasized

Emphasized type

sap.m.ButtonType.Ghost

Ghost type

sap.m.ButtonType.Negative

Negative type

Note: To be used only in controls of type sap.m.Button. When the button opens a sap.m.MessagePopover list, use this ButtonType if the message with the highest severity is Error type.

sap.m.ButtonType.Neutral

Neutral type

Note: To be used only in controls of type sap.m.Button. When the button opens a sap.m.MessagePopover list, use this ButtonType if the message with the highest severity is Information type.

sap.m.ButtonType.Reject

Reject style

sap.m.ButtonType.Success

Success type

Note: To be used only in controls of type sap.m.Button. When the button opens a sap.m.MessagePopover list, use this ButtonType if the message with the highest severity is Success type.

sap.m.ButtonType.Transparent

Transparent type

sap.m.ButtonType.Unstyled

Unstyled type (no styling)

sap.m.ButtonType.Up

Up type (up navigation button for header)