Method | Description | |
---|---|---|
ClickButton ( int buttonId ) : bool |
Simulate the action of a button click in the TaskDialog. This can be a DialogResult value or the ButtonID set on a TasDialogButton set on TaskDialog.Buttons.
|
|
ClickRadioButton ( int buttonId ) : void |
Simulate the action of a radio button click in the TaskDialog. The passed buttonID is the ButtonID set on a TaskDialogButton set on TaskDialog.RadioButtons.
|
|
ClickVerification ( bool checkedState, bool setKeyboardFocusToCheckBox ) : void |
Check or uncheck the verification checkbox in the TaskDialog.
|
|
EnableButton ( int buttonId, bool enable ) : void |
Enable or disable a button in the TaskDialog. The passed buttonID is the ButtonID set on a TaskDialogButton set on TaskDialog.Buttons or a common button ID.
|
|
EnableRadioButton ( int buttonId, bool enable ) : void |
Enable or disable a radio button in the TaskDialog. The passed buttonID is the ButtonID set on a TaskDialogButton set on TaskDialog.RadioButtons.
|
|
SetButtonElevationRequiredState ( int buttonId, bool elevationRequired ) : void |
Designate whether a given Task Dialog button or command link should have a User Account Control (UAC) shield icon.
|
|
SetContent ( string content ) : bool |
Updates the content text.
|
|
SetExpandedInformation ( string expandedInformation ) : bool |
Updates the Expanded Information text.
|
|
SetFooter ( string footer ) : bool |
Updates the Footer text.
|
|
SetMainInstruction ( string mainInstruction ) : bool |
Updates the Main Instruction.
|
|
SetMarqueeProgressBar ( bool marquee ) : bool |
Used to indicate whether the hosted progress bar should be displayed in marquee mode or not.
|
|
SetProgressBarPosition ( int newPosition ) : int |
Set the current position for a progress bar.
|
|
SetProgressBarRange ( |
Set the minimum and maximum values for the hosted progress bar.
|
|
SetProgressBarState ( ProgressBarState newState ) : bool |
Set the state of the progress bar.
|
|
UpdateContent ( string content ) : void |
Updates the content text.
|
|
UpdateExpandedInformation ( string expandedInformation ) : void |
Updates the Expanded Information text. No effect if it was previously set to null.
|
|
UpdateFooter ( string footer ) : void |
Updates the Footer text. No Effect if it was perviously set to null.
|
|
UpdateFooterIcon ( |
Updates the footer icon. Note the type (standard via enum or custom via Icon type) must be used when upating the icon.
|
|
UpdateFooterIcon ( TaskDialogIcon icon ) : void |
Updates the footer icon. Note the type (standard via enum or custom via Icon type) must be used when upating the icon.
|
|
UpdateMainIcon ( |
Updates the main instruction icon. Note the type (standard via enum or custom via Icon type) must be used when upating the icon.
|
|
UpdateMainIcon ( TaskDialogIcon icon ) : void |
Updates the main instruction icon. Note the type (standard via enum or custom via Icon type) must be used when upating the icon.
|
|
UpdateMainInstruction ( string mainInstruction ) : void |
Updates the Main Instruction.
|
Method | Description | |
---|---|---|
ActiveTaskDialog ( |
Creates a ActiveTaskDialog.
|
|
SetProgressBarMarquee ( bool startMarquee, uint speed ) : void |
public ClickButton ( int buttonId ) : bool | ||
buttonId | int | Indicates the button ID to be selected. |
return | bool |
public ClickRadioButton ( int buttonId ) : void | ||
buttonId | int | Indicates the button ID to be selected. |
return | void |
public ClickVerification ( bool checkedState, bool setKeyboardFocusToCheckBox ) : void | ||
checkedState | bool | The checked state to set the verification checkbox. |
setKeyboardFocusToCheckBox | bool | True to set the keyboard focus to the checkbox, and fasle otherwise. |
return | void |
public EnableButton ( int buttonId, bool enable ) : void | ||
buttonId | int | Indicates the button ID to be enabled or diabled. |
enable | bool | Enambe the button if true. Disable the button if false. |
return | void |
public EnableRadioButton ( int buttonId, bool enable ) : void | ||
buttonId | int | Indicates the button ID to be enabled or diabled. |
enable | bool | Enambe the button if true. Disable the button if false. |
return | void |
public SetButtonElevationRequiredState ( int buttonId, bool elevationRequired ) : void | ||
buttonId | int | ID of the push button or command link to be updated. |
elevationRequired | bool | False to designate that the action invoked by the button does not require elevation; /// true to designate that the action does require elevation. |
return | void |
public SetContent ( string content ) : bool | ||
content | string | The new value. |
return | bool |
public SetExpandedInformation ( string expandedInformation ) : bool | ||
expandedInformation | string | The new value. |
return | bool |
public SetFooter ( string footer ) : bool | ||
footer | string | The new value. |
return | bool |
public SetMainInstruction ( string mainInstruction ) : bool | ||
mainInstruction | string | The new value. |
return | bool |
public SetMarqueeProgressBar ( bool marquee ) : bool | ||
marquee | bool | Specifies whether the progress bar sbould be shown in Marquee mode. /// A value of true turns on Marquee mode. |
return | bool |
public SetProgressBarPosition ( int newPosition ) : int | ||
newPosition | int | The new position. |
return | int |
public SetProgressBarRange ( |
||
minRange | Minimum range value. By default, the minimum value is zero. | |
maxRange | Maximum range value. By default, the maximum value is 100. | |
return | bool |
public SetProgressBarState ( ProgressBarState newState ) : bool | ||
newState | ProgressBarState | The state to set the progress bar. |
return | bool |
public UpdateContent ( string content ) : void | ||
content | string | The new value. |
return | void |
public UpdateExpandedInformation ( string expandedInformation ) : void | ||
expandedInformation | string | The new value. |
return | void |
public UpdateFooter ( string footer ) : void | ||
footer | string | The new value. |
return | void |
public UpdateFooterIcon ( |
||
icon | The icon to set. | |
return | void |
public UpdateFooterIcon ( TaskDialogIcon icon ) : void | ||
icon | TaskDialogIcon | Task Dialog standard icon. |
return | void |
public UpdateMainIcon ( |
||
icon | The icon to set. | |
return | void |
public UpdateMainIcon ( TaskDialogIcon icon ) : void | ||
icon | TaskDialogIcon | Task Dialog standard icon. |
return | void |
public UpdateMainInstruction ( string mainInstruction ) : void | ||
mainInstruction | string | The new value. |
return | void |