TaskDialog.MainInstruction Property

The large primary text that appears at the top of a task dialog.


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public string MainInstruction { get; set; }

Property Value

String

Remarks

It should concisely sum up the problem or situation that is causing the message to display. Follow these guidelines:

Revit will automatically break lines to make the message fit well. "\n" also breaks down to the next line. For a paragraph break, use "\n\n".

Hyperlinks added to the main instructions will not be enabled when the dialog is shown on Vista.

See Also

Reference

TaskDialog Class
Autodesk.Revit.UI Namespace