Defines whether links in the text, the expanded text and the footnote can be clicked.
Class: SftTaskDialogPage
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
public bool EnableLinks { get; set; }
Public Property EnableLinks As BooleanTrue if <a href="value">link text</a> is shown as a link that raises the SftTaskDialogPage.LinkClicked event. A change while the page is shown takes effect the next time the page is shown.
The default value is False.
Defines whether links in the text, the expanded text and the footnote can be clicked.
}
// A task dialog page with every kind of element; Apply keeps the dialog open.
private void buttonTaskDialog_Click(object sender, EventArgs e) {
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);
End Sub
' A task dialog page with every kind of element; Apply keeps the dialog open.
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)See Also SftTaskDialogPage Class | Classes | SftStyle/NET 3.0