Defines whether the expander is expanded.
Class: SftTaskDialogExpander
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
public bool Expanded { get; set; }
Public Property Expanded As BooleanTrue if the text is shown. The property cannot be changed while the page is shown; the user expands and collapses it then.
The default value is False.
Defines whether the expander is expanded.
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);
DumpValues("SftTaskDialog.ShowDialog (" + clicked.Text.Replace("&", "") + ")", EventArgs.Empty);
}
private void buttonColorDialog_Click(object sender, EventArgs e) {
DialogResult result = sftColorDialog1.ShowDialog(this);
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)
DumpValues("SftTaskDialog.ShowDialog (" + clicked.Text.Replace("&", "") + ")", EventArgs.Empty)
End Sub
Private Sub ButtonColorDialog_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ButtonColorDialog.Click
Dim result As DialogResult = SftColorDialog1.ShowDialog(Me)See Also SftTaskDialogExpander Class | Classes | SftStyle/NET 3.0