TaskDialog.EnableDoNotShowAgain
Description:
Enables the "Do not show again" for a task dialog.
Enables the "Do not show again" for a task dialog.
Remarks:
Thrown if the TaskDialog also has VerificationText set as the two cannot coincide in the same TaskDialog.
Thrown if the TaskDialog also has VerificationText set as the two cannot coincide in the same TaskDialog.
When enabled, the TaskDialog will contain a checkbox with the text specified to not show the task dialog again.
By default a task dialog will not have this check box.
If the user checks the check box, the next call to Show() for the indicated dialog id returns the choice the user made the last time the dialog was shown.
public void EnableDoNotShowAgain(
string dialogId,
bool enableDoNotShow,
string doNotShowText
)
-
StringdialogIdThe non localized dialog identifier. It is used to store in Revit.ini the choice the user made the last time the dialog was shown.
-
BooleanenableDoNotShowThe boolean to enable or disable the do not show me again functionality.
-
StringdoNotShowTextThe customized localized string that shows along with the do not show again checkbox.