Method | Description | |
---|---|---|
GetButtonIdForCommandButton ( int index ) : int |
Gets the buttonId for a command button. When creating the config options for the dialog and specifying command buttons, typically you pass in an array of button label strings. The index specifies which button to get an id for. If you passed in Save, Don't Save, and Cancel, then index 2 specifies the Cancel button. |
|
GetButtonIdForCommonButton ( TaskDialogCommonButtons commonButtons, int index ) : int |
Gets the buttonId for a common button. If the common button set includes more than one button, the index number specifies which.
|
|
GetButtonIdForCustomButton ( int index ) : int |
Gets the buttonId for a custom button. When creating the config options for the dialog and specifying custom buttons, typically you pass in an array of button label strings. The index specifies which button to get an id for. If you passed in Save, Don't Save, and Cancel, then index 2 specifies the Cancel custom button. |
|
GetButtonIdForRadioButton ( int index ) : int |
Gets the buttonId for a radio button. When creating the config options for the dialog and specifying radio buttons, typically you pass in an array of radio label strings. The index specifies which button to get an id for. If you passed in Automatic, Manual, and Disabled, then index 1 specifies the Manual radio button. |
|
GetButtonIndexForCommonButton ( TaskDialogCommonButtons commonButtons, int buttonId ) : int |
Gets the zero-based index for a common button. When Alt+F4, Esc, and other non-button close commands are issued, the dialog will simulate a Cancel button click. In this case, -1 for index and a buttonid of Cancel will let you know how the user closed the dialog. |
|
Show ( |
Displays a task dialog with the given configuration options.
|
|
ShowMessage ( |
Displays a task dialog that has a message and that returns a result.
|
|
ShowMessage ( |
Displays a task dialog that has a message and that returns a result.
|
|
ShowMessage ( |
Displays a task dialog that has a message and that returns a result.
|
|
ShowMessage ( |
Displays a task dialog that has a message and that returns a result.
|
|
ShowMessage ( |
Displays a task dialog that has a message and that returns a result.
|
Method | Description | |
---|---|---|
ConvertCommonButton ( VistaTaskDialogCommonButtons commonButton, System command = null, bool isDefault = false, bool isCancel = false ) : |
||
ConvertCommonButtons ( TaskDialogCommonButtons commonButtons ) : VistaTaskDialogCommonButtons | ||
DetectHyperlinks ( string text ) : bool | ||
DetectHyperlinks ( string content, string expandedInfo, string footerText ) : bool | ||
OnClosed ( TaskDialogInterop.TaskDialogClosedEventArgs e ) : void |
Raises the E:Closed event.
|
|
OnShowing ( TaskDialogInterop.TaskDialogShowingEventArgs e ) : void |
Raises the E:Showing event.
|
|
ShowEmulatedTaskDialog ( |
||
ShowTaskDialog ( |
public static GetButtonIdForCommandButton ( int index ) : int | ||
index | int | The zero-based index into the array of command buttons. |
return | int |
public static GetButtonIdForCommonButton ( TaskDialogCommonButtons commonButtons, int index ) : int | ||
commonButtons | TaskDialogCommonButtons | The common button set to use. |
index | int | The zero-based index into the button set. |
return | int |
public static GetButtonIdForCustomButton ( int index ) : int | ||
index | int | The zero-based index into the array of custom buttons. |
return | int |
public static GetButtonIdForRadioButton ( int index ) : int | ||
index | int | The zero-based index into the array of radio buttons. |
return | int |
public static GetButtonIndexForCommonButton ( TaskDialogCommonButtons commonButtons, int buttonId ) : int | ||
commonButtons | TaskDialogCommonButtons | The common button set to use. |
buttonId | int | The button's id. |
return | int |
public static Show ( |
||
options |
/// A |
|
return | TaskDialogInterop.TaskDialogResult |
public static ShowMessage ( |
||
owner |
/// The |
|
messageText | string |
/// A |
return | TaskDialogSimpleResult |
public static ShowMessage ( |
||
owner |
/// The |
|
messageText | string |
/// A |
caption | string |
/// A |
return | TaskDialogSimpleResult |
public static ShowMessage ( |
||
owner |
/// The |
|
messageText | string |
/// A |
caption | string |
/// A |
buttons | TaskDialogCommonButtons |
/// A |
return | TaskDialogSimpleResult |
public static ShowMessage ( |
||
owner |
/// The |
|
messageText | string |
/// A |
caption | string |
/// A |
buttons | TaskDialogCommonButtons |
/// A |
icon | VistaTaskDialogIcon |
/// A |
return | TaskDialogSimpleResult |
public static ShowMessage ( |
||
owner |
/// The |
|
title | string |
/// A |
mainInstruction | string |
/// A |
content | string |
/// A |
expandedInfo | string |
/// A |
verificationText | string |
/// A |
footerText | string |
/// A |
buttons | TaskDialogCommonButtons |
/// A |
mainIcon | VistaTaskDialogIcon |
/// A |
footerIcon | VistaTaskDialogIcon |
/// A |
return | TaskDialogSimpleResult |