Skip to content

MessageDialogButtonDisplay

JaykeBird edited this page Feb 21, 2023 · 6 revisions

Back to home | Back to Reference | View raw text

MessageDialogButtonDisplay enum

Description

Set how many buttons to display at the bottom of the dialog.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SolidShineUi
  SolidShineUi.MessageDialogButtonDisplay[[MessageDialogButtonDisplay]]
  end
Loading

Details

Summary

Set how many buttons to display at the bottom of the dialog.

Remarks

MessageDialogButtonDisplay.Auto is used by default; if MessageDialogButtonDisplay.Auto is used, the MessageDialog.OkButtonText , MessageDialog.CancelButtonText , and MessageDialog.DiscardButtonText properties determine which buttons are displayed.

Fields

Auto

Summary

If set, uses the OkButtonText, CancelButtonText, and DiscardButtonText properties to determine which buttons should be displayed. If a property is null or empty, then the corresponding button isn't displayed.

One

Summary

Display only one button, the OK button. Outputs as MessageDialogResult.OK when clicked.

Two

Summary

Display two buttons, the OK and Cancel buttons. Outputs as MessageDialogResult.OK or MessageDialogResult.Cancel when clicked.

Three

Summary

Display three buttons, the OK, Discard, and Cancel buttons. Outputs as MessageDialogResult.OK , MessageDialogResult.Discard or MessageDialogResult.Cancel when clicked.

Generated with ModularDoc

Clone this wiki locally