Represents a radio button of a task dialog.
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
Inheritance
public sealed class SftTaskDialogRadioButton : Softelvdm.SftStyleNET.SftTaskDialogControl;
Public NotInheritable Class SftTaskDialogRadioButton
Inherits Softelvdm.SftStyleNET.SftTaskDialogControl![]() | SftTaskDialogRadioButton | Initializes a new instance of the SftTaskDialogRadioButton class. |
![]() ![]() | BoundPage | Returns the page the element belongs to while the page is shown. |
![]() | Checked | Defines whether the radio button is checked. |
![]() | Enabled | Defines whether the radio button can be checked by the user. |
![]() ![]() | Tag | Defines an object with data about the element. |
![]() | Text | Defines the text of the radio button. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() | ToString | Returns the text of the radio button. |
![]() | CheckedChanged | Occurs when the SftTaskDialogRadioButton.Checked property changes while the page is shown. |
page.Buttons.Add(SftTaskDialogButton.Cancel);
page.Buttons.Add(SftTaskDialogButton.Help);
page.Created += (s, a) => DumpValues("page.Created", a);
page.Destroyed += (s, a) => DumpValues("page.Destroyed", a);
page.HelpRequest += (s, a) => DumpValues("page.HelpRequest", a);
page.LinkClicked += (s, a) => DumpValues("page.LinkClicked", a);
apply.Click += (s, a) => DumpValues("Apply.Click (the dialog stays open)", a);
foreach (SftTaskDialogRadioButton radio in page.RadioButtons) {
SftTaskDialogRadioButton r = radio;
r.CheckedChanged += (s, a) => DumpValues("RadioButton.CheckedChanged (" + r.Text.Replace("&", "") + (r.Checked ? ", checked" : "") + ")", a);
}
page.Verification.CheckedChanged += (s, a) => DumpValues("Verification.CheckedChanged (" + page.Verification.Checked + ")", a);
page.Expander.ExpandedChanged += (s, a) => DumpValues("Expander.ExpandedChanged (" + page.Expander.Expanded + ")", a);
SftTaskDialogButton clicked = SftTaskDialog.ShowDialog(this, page);
page.Buttons.Add(SftTaskDialogButton.Cancel)
page.Buttons.Add(SftTaskDialogButton.Help)
AddHandler page.Created, Sub(s, a) DumpValues("page.Created", a)
AddHandler page.Destroyed, Sub(s, a) DumpValues("page.Destroyed", a)
AddHandler page.HelpRequest, Sub(s, a) DumpValues("page.HelpRequest", a)
AddHandler page.LinkClicked, Sub(s, a) DumpValues("page.LinkClicked", a)
AddHandler apply.Click, Sub(s, a) DumpValues("Apply.Click (the dialog stays open)", a)
For Each radio As SftTaskDialogRadioButton In page.RadioButtons
Dim r As SftTaskDialogRadioButton = radio
AddHandler r.CheckedChanged, Sub(s, a) DumpValues("RadioButton.CheckedChanged (" + r.Text.Replace("&", "") + If(r.Checked, ", checked", "") + ")", a)
Next
AddHandler page.Verification.CheckedChanged, Sub(s, a) DumpValues("Verification.CheckedChanged (" + page.Verification.Checked.ToString() + ")", a)
AddHandler page.Expander.ExpandedChanged, Sub(s, a) DumpValues("Expander.ExpandedChanged (" + page.Expander.Expanded.ToString() + ")", a)
Dim clicked As SftTaskDialogButton = SftTaskDialog.ShowDialog(Me, page)See Also Classes | SftStyle/NET 3.0