The TaskDialog type exposes the following members.

Constructors

  NameDescription
Public methodTaskDialog
Creates a task dialog with title.

Methods

  NameDescription
Public methodAddCommandLink(TaskDialogCommandLinkId, String)
Adds a CommandLink associated to the given id, displaying the indicating main content.
Public methodAddCommandLink(TaskDialogCommandLinkId, String, String)
Adds a CommandLink associated to the given id, displaying the indicating main and supporting content.
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodEnableDoNotShowAgain
Enables the "Do not show again" for a task dialog.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShow()()()()
Shows the task dialog.
Public methodStatic memberShow(String, String)
Shows a task dialog with title, main instruction and a Close button.
Public methodStatic memberShow(String, String, TaskDialogCommonButtons)
Shows a task dialog with title, main instruction and common buttons.
Public methodStatic memberShow(String, String, TaskDialogCommonButtons, TaskDialogResult)
Shows a task dialog with title, main instruction, common buttons and default buttons.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWasExtraCheckBoxChecked
Gets the status of the extra checkbox.
Public methodWasVerificationChecked
Gets the status of the verification checkbox.

Properties

  NameDescription
Public propertyAllowCancellation
Whether the task dialog can be cancelled if no cancel button is specified.
Public propertyCommonButtons
The push buttons displayed in the task dialog.
Public propertyDefaultButton
The default button for the dialog.
Public propertyEnableMarqueeProgressBar
Enables a marquee style progress bar to be displayed in the TaskDialog.
Public propertyExpandedContent
ExpandedContent is hidden by default and will display at the bottom of the task dialog when the "Show details" button is pressed.
Public propertyExtraCheckBoxText
ExtraCheckBoxText is used to label the extra checkbox.
Public propertyFooterText
FooterText is used in the footer area of the task dialog.
Public propertyId
The Id of the task dialog.
Public propertyIsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject.)
Public propertyMainContent
MainContent is the smaller text that appears just below the main instructions.
Public propertyMainIcon
The icon shown in the task dialog.
Public propertyMainInstruction
The large primary text that appears at the top of a task dialog.
Public propertyTitle
Title of the task dialog.
Public propertyTitleAutoPrefix
Whether the TaskDialog's title will automatically have the add-in name added as a prefix.
Public propertyVerificationText
VerificationText is used to label the verification checkbox.

See Also