GoDiagram Web Reference
Visible Property (GoObject)

Gets or sets whether the user can see this object.
Syntax
'Declaration
 
<DescriptionAttribute("Whether users can see this object.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Overridable Property Visible As Boolean
[DescriptionAttribute("Whether users can see this object.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
public virtual bool Visible {get; set;}

Property Value

This defaults to true. You should normally call the CanView method instead of getting this property. If you set this property to false, you probably also want to set the Printable property to false.
Remarks
A false value prevents the user from seeing this object by the normal painting mechanisms. Even when this property value is true, this object might not be seeable by the user because the object's layer is not visible. A user will not normally be able to select an invisible object or do other interactive operations with an invisible object. However, an invisible object can still be part of a layer and document or view, and can still take part in all programmatic operations such as manipulating its bounds.
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

Reference

GoObject Class
GoObject Members
CanView Method
AllowView Property
Printable Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback