Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / Visible Property
Example


In This Topic
    Visible Property (ElementWindowless)
    In This Topic
    Gets or sets whether the element is visible.
    Syntax
    'Declaration
     
    Public Overridable Property Visible As Boolean
    'Usage
     
    Dim instance As ElementWindowless
    Dim value As Boolean
     
    instance.Visible = value
     
    value = instance.Visible
    public virtual bool Visible {get; set;}

    Property Value

    Boolean value: true if displayed; false if hidden
    Remarks

    For more information, see the Visible property in the Microsoft .NET Framework Reference.

    Example
    private void button1_Click(object sender, System.EventArgs e)
    {
    element.Visible = true;
    element.Enabled = false;
    element.Selectable = false;
    }
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    element.Visible = True
    element.Enabled = False
    element.Selectable = False
    End Sub
    See Also