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

TaskDialog.DefaultButton

Property
Description:
The default button for the dialog.
Remarks:
If DefaultButton is TaskDialogResult.None or its value does not correspond to any CommonButton or CommandLink in the dialog, then the first button in the dialog will be the default.
Syntax
public TaskDialogResult DefaultButton { get; set; }