MessageBoxButtons
enum MessageBoxButtons
{
YesNo = "YesNo",
YesNoCancel = "YesNoCancel"
}
Description
The MessageBoxButtons
enum defines the set of buttons that can be displayed in a message dialog. This allows developers to configure the appropriate button combination based on the required user interaction.
- YesNo: Displays a dialog with "Yes" and "No" buttons.
- YesNoCancel: Displays a dialog with "Yes", "No", and "Cancel" buttons.
These button configurations are commonly used when prompting users to confirm actions or make decisions within the application.