Specifies the editing context of the button.
The showIf attribute is an optional attribute of the button element.
Allowed values include "always", "enabled", and "immediate". Default value is "always". Only applies to buttons used with editing components. If the showIf attribute is set to "enabled", then the button is visible only if the action is contextually enabled. If the showIf attribute is set to "immediate", then the button is visible only if the action is contextually immediate.
The following is an example of the showIf attribute as it is used in the button element: