Method AddCancelButton
AddCancelButton()
Adds a "Cancel" button to the dialog if one does not already exist.
public virtual void AddCancelButton()
Remarks
The "Cancel" button triggers the OnCancelButtonClicked(DialogCloseAction) method when clicked, passing CancelButton as the action. If a "Cancel" button already exists, this method does nothing.