Defines the radio buttons of the page.
Class: SftTaskDialogPage
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
public SftTaskDialogRadioButtonCollection RadioButtons { get; set; }
Public Property RadioButtons As SftTaskDialogRadioButtonCollectionThe collection of radio buttons. The collection cannot be replaced or changed while the page is shown.
Defines the radio buttons of the page.
SftTaskDialogPage page = new SftTaskDialogPage {
Caption = "Export",
Heading = "Choose the export format",
Text = "The report covers 1,284 orders. Read the <a href=\"formats\">format notes</a> first.",
EnableLinks = true,
Verification = new SftTaskDialogVerificationCheckBox("&Open the file after the export"),
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);
Private Sub ButtonTaskDialog_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ButtonTaskDialog.Click
Dim page As New SftTaskDialogPage()
page.Caption = "Export"
page.Heading = "Choose the export format"
page.Text = "The report covers 1,284 orders. Read the <a href=""formats"">format notes</a> first."
page.EnableLinks = True
page.Verification = New SftTaskDialogVerificationCheckBox("&Open the file after the export")
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)See Also SftTaskDialogPage Class | Classes | SftStyle/NET 3.0