Метод | Описание | |
---|---|---|
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.
|
|
SetProgressBarMarquee ( bool startMarquee, uint speed ) : void |
Sets the animation state of the Marquee Progress Bar.
|
|
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 ( VistaProgressBarState newState ) : bool |
Sets 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 ( VistaTaskDialogIcon 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 ( VistaTaskDialogIcon 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.
|
Метод | Описание | |
---|---|---|
VistaActiveTaskDialog ( |
Creates a ActiveTaskDialog.
|
public ClickButton ( int buttonId ) : bool | ||
buttonId | int | Indicates the button ID to be selected. |
Результат | bool |
public ClickRadioButton ( int buttonId ) : void | ||
buttonId | int | Indicates the button ID to be selected. |
Результат | 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. |
Результат | 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. |
Результат | 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. |
Результат | 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. |
Результат | void |
public SetContent ( string content ) : bool | ||
content | string | The new value. |
Результат | bool |
public SetExpandedInformation ( string expandedInformation ) : bool | ||
expandedInformation | string | The new value. |
Результат | bool |
public SetFooter ( string footer ) : bool | ||
footer | string | The new value. |
Результат | bool |
public SetMainInstruction ( string mainInstruction ) : bool | ||
mainInstruction | string | The new value. |
Результат | 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. |
Результат | bool |
public SetProgressBarMarquee ( bool startMarquee, uint speed ) : void | ||
startMarquee | bool | true starts the marquee animation and false stops it. |
speed | uint | The time in milliseconds between refreshes. |
Результат | void |
public SetProgressBarPosition ( int newPosition ) : int | ||
newPosition | int | The new position. |
Результат | 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. | |
Результат | bool |
public SetProgressBarState ( VistaProgressBarState newState ) : bool | ||
newState | VistaProgressBarState | The state to set the progress bar. |
Результат | bool |
public UpdateContent ( string content ) : void | ||
content | string | The new value. |
Результат | void |
public UpdateExpandedInformation ( string expandedInformation ) : void | ||
expandedInformation | string | The new value. |
Результат | void |
public UpdateFooter ( string footer ) : void | ||
footer | string | The new value. |
Результат | void |
public UpdateFooterIcon ( |
||
icon | The icon to set. | |
Результат | void |
public UpdateFooterIcon ( VistaTaskDialogIcon icon ) : void | ||
icon | VistaTaskDialogIcon | Task Dialog standard icon. |
Результат | void |
public UpdateMainIcon ( |
||
icon | The icon to set. | |
Результат | void |
public UpdateMainIcon ( VistaTaskDialogIcon icon ) : void | ||
icon | VistaTaskDialogIcon | Task Dialog standard icon. |
Результат | void |
public UpdateMainInstruction ( string mainInstruction ) : void | ||
mainInstruction | string | The new value. |
Результат | void |