RVTDocs.com
Namespace: Autodesk.Revit.UI Class: TaskDialog

TaskDialog.Show(String, String, TaskDialogCommonButtons, TaskDialogResult)

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