TaskDialog.EnableDoNotShowAgain
Method
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.
Syntax
public void EnableDoNotShowAgain(
string dialogId,
bool enableDoNotShow,
string doNotShowText
)
Parameters
Parameter | Type | Description |
---|---|---|
dialogId | String | The non localized dialog identifier. It is used to store in Revit.ini the choice the user made the last time the dialog was shown. |
enableDoNotShow | Boolean | The boolean to enable or disable the do not show me again functionality. |
doNotShowText | String | The customized localized string that shows along with the do not show again checkbox. |
Return Value