Bewerken

Share via


TaskDialogRadioButton.Checked Property

Definition

Gets or set a value indicating whether the TaskDialogRadioButton is in the checked state.

public:
 property bool Checked { bool get(); void set(bool value); };
public bool Checked { get; set; }
member this.Checked : bool with get, set
Public Property Checked As Boolean

Property Value

true if the TaskDialogRadioButton is in the checked state; otherwise, false. The default value is false.

Exceptions

The property is set and the task dialog has started navigating to a new page containing this radio button instance, but the Created event has not been raised yet. - or - The property is set on a radio button instance that is currently bound to a task dialog, but the value to be set is false. - or - The property is set within the CheckedChanged event of one of the radio buttons of the currently bound task dialog. - or - The property is set on a radio button instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.

Remarks

While the dialog is shown, this property can only be set to true and you cannot set it from within the CheckedChanged event.

Applies to