Skybound Rebar

RebarBand.Visible Property

Gets or sets whether the band is visible at runtime.

[Visual Basic]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}

Property Value

true if the band is visible; otherwise, false. The default is true.

Remarks

When this property is set to false, its current location on the Rebar is stored and then the band is removed from its RebarRow, causing it to not be displayed. When the property is set to true again, the band is added back to its original row. If the row no longer exists, the band is added to the bottom of the rebar instead.

Setting this property to false before adding it to a Rebar causes it to not be displayed when it is added.

Bands can also be shown or hidden by using the menu displayed when the Rebar is right-clicked at runtime. For more information, refer to the CanToggle property.

See Also

RebarBand Class | Skybound.Rebar Namespace