Spread Windows Forms 6.0 Product Documentation
Visible Property
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > ElementWindowless Class : Visible Property


Glossary Item Box

Gets or sets whether the element is visible.

Syntax

Visual Basic (Declaration) 
Public Overridable Property Visible As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ElementWindowless
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
C# 
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

csharpCopy Code
private void button1_Click(object sender, System.EventArgs e)
{
element.Visible = true;
element.Enabled = false;
element.Selectable = false;
}
Visual BasicCopy Code
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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.