TWizardNavigationButtonStyle defines the style applied to a wizard navigation button.
The button type can be specified via {@link setButtonType ButtonType}, which
can be 'Button', 'Image' or 'Link'.
If the button is an image button, {@link setImageUrl ImageUrl} will be
used to load the image for the button.
Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption.
/** * @return TWizardNavigationButtonStyle the style for the cancel button */ public function getCancelButtonStyle() { if (($style = $this->getViewState('CancelButtonStyle', null)) === null) { $style = new TWizardNavigationButtonStyle(); $style->setButtonText('Cancel'); $this->setViewState('CancelButtonStyle', $style, null); } return $style; }