TaskDialogShow(IntPtr, Int32, Int32, Boolean) Method
Shows the
TaskDialog using the current configuration.
Namespace: KGySoft.WinForms.ComponentsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public TaskDialogResult Show(
IntPtr owner,
out int? customButtonIndex,
out int? radioButtonIndex,
out bool? verificationTextChecked
)
Public Function Show (
owner As IntPtr,
<OutAttribute> ByRef customButtonIndex As Integer,
<OutAttribute> ByRef radioButtonIndex As Integer,
<OutAttribute> ByRef verificationTextChecked As Boolean
) As TaskDialogResult
public:
TaskDialogResult Show(
IntPtr owner,
[OutAttribute] int% customButtonIndex,
[OutAttribute] int% radioButtonIndex,
[OutAttribute] bool% verificationTextChecked
)
member Show :
owner : IntPtr *
customButtonIndex : int byref *
radioButtonIndex : int byref *
verificationTextChecked : bool byref -> TaskDialogResult
- owner IntPtr
- The handle of the owner window. If IntPtr.Zero, the dialog is shown as a non-modal window.
- customButtonIndex Int32
- When this method returns, contains the index of the clicked custom button specified in Buttons collection if the button closed the dialog.
Its value is stored also in the SelectedButtonIndex property.
- radioButtonIndex Int32
- When this method returns, contains the index of the selected radio button specified in RadioButtons collection.
Its value is stored also in the SelectedRadioButtonIndex property.
- verificationTextChecked Boolean
- When this method returns, contains whether the verification checkbox was checked when the dialog was closed.
Its value is stored also in the CheckBoxChecked property.
TaskDialogResultA
TaskDialogResult value that indicates one of the pressed standard buttons specified by
StandardButtons property.
If the return value is
None, then the dialog might have been closed by a custom button, which can be identified by
SelectedButtonIndex.
The result is stored also in the
DialogResult property.