Returns a new Help button, which raises the SftTaskDialogPage.HelpRequest event of the page and does not close the dialog.
Class: SftTaskDialogButton
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
public static SftTaskDialogButton Help { get; }
Public ReadOnly Shared Property Help As SftTaskDialogButtonA new instance of the Help button, equal to every other instance of it.
Returns a new Help button, which raises the SftTaskDialogPage.HelpRequest event of the page and does not close the dialog.
Expander = new SftTaskDialogExpander("Comma-separated files open in any spreadsheet program; PDF keeps the layout of the report."),
};
page.RadioButtons.Add("&Comma-separated values (.csv)").Checked = true;
page.RadioButtons.Add("&PDF document");
SftTaskDialogButton apply = new SftTaskDialogButton("&Apply") { AllowCloseDialog = false };
page.Buttons.Add(apply);
page.Buttons.Add(SftTaskDialogButton.OK);
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) {
page.Expander = New SftTaskDialogExpander("Comma-separated files open in any spreadsheet program; PDF keeps the layout of the report.")
page.RadioButtons.Add("&Comma-separated values (.csv)").Checked = True
page.RadioButtons.Add("&PDF document")
Dim apply As New SftTaskDialogButton("&Apply")
apply.AllowCloseDialog = False
page.Buttons.Add(apply)
page.Buttons.Add(SftTaskDialogButton.OK)
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.RadioButtonsSee Also SftTaskDialogButton Class | Classes | SftStyle/NET 3.0