HeaderPane
Main
Hide
Share Link
Print

Text Property, SftTaskDialogPage Class

Defines the text of the dialog.

Class: SftTaskDialogPage
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET

Syntax

public string Text { get; set; }
Public Property Text As String

Value

The text. With SftTaskDialogPage.EnableLinks, text in the form <a href="value">link text</a> is shown as a link. The dialog follows a change while the page is shown.

Comments

Defines the text of the dialog.

Examples

VB.NET View entire sample code

        DumpValues("SftSlider2.Scroll", e)
    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

See Also SftTaskDialogPage Class | Classes | SftStyle/NET 3.0