TaskDialogRadioButton Class

Represents a radio button in a TaskDialog that can be added to the RadioButtons collection.

Definition

Namespace: KGySoft.WinForms.Components
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public sealed class TaskDialogRadioButton : TaskDialogButtonBase
Inheritance
Object    TaskDialogControl    TaskDialogButtonBase    TaskDialogRadioButton

Constructors

TaskDialogRadioButton Creates a new instance of the TaskDialogRadioButton class.
TaskDialogRadioButton(String) Creates a new instance of the TaskDialogRadioButton class with the specified text.
TaskDialogRadioButton(String, String) Creates a new instance of the TaskDialogRadioButton class with the specified name and text.

Properties

Checked Gets or sets whether the radio button is checked.
Description Gets or sets the description of the button. If the button is displayed as a command link, description is displayed under the main text. Otherwise, the description can be displayed as a tooltip (when the TaskDialog is used in compatibility mode).
(Inherited from TaskDialogButtonBase)
Enabled Gets or sets whether the button is enabled.
(Inherited from TaskDialogButtonBase)
Name Gets or sets the name of this control. Name is not required to be set, but it can be used to identify controls in a TaskDialogControlCollectionT by name. This property can be changed without restriction.
(Inherited from TaskDialogControl)
Parent Gets the parent dialog that is hosting the control.
(Inherited from TaskDialogControl)
Tag Gets or sets a tag for this TaskDialogControl. A tag can be any object for custom purposes.
(Inherited from TaskDialogControl)
Text Gets or sets the button text.
(Inherited from TaskDialogButtonBase)

Methods

Dispose Disposes this TaskDialogControl instance.
(Inherited from TaskDialogControl)
ToString Returns the string representation of this TaskDialogRadioButton.
(Overrides TaskDialogButtonBaseToString)

Events

PropertyChanged Occurs when a property value changes.
(Inherited from TaskDialogControl)
Selected Occurs when this TaskDialogRadioButton is selected. That is, when Checked becomes . If you need a notification even when Checked bacomes , use the PropertyChanged event instead.

See Also