2027 Method
Changes 0
M

TaskDialog.Show

Description:
Shows a task dialog with title, main instruction, common buttons and default buttons.
Overloads (4):
Show
Show(String,String,TaskDialogCommonButtons,TaskDialogResult)
public static TaskDialogResult Show(
	string title,
	string mainInstruction,
	TaskDialogCommonButtons buttons,
	TaskDialogResult defaultButton
)
  • String
    title
    The title of the task dialog.
  • String
    mainInstruction
    The main instruction of the task dialog.
  • buttons
    The common buttons to be shown the task dialog.
  • defaultButton
    The default button of the task dialog.
Return Value TaskDialogResult The user's response to the task dialog.