Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / Visible Property
Example


In This Topic
    Visible Property (SheetView)
    In This Topic
    Gets or sets whether to display the sheet.
    Syntax
    'Declaration
     
    
    Public Property Visible As Boolean
    'Usage
     
    
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.Visible = value
     
    value = instance.Visible
    public bool Visible {get; set;}

    Property Value

    true to display the sheet; false to hide the sheet
    Remarks

    Remember that sheets are zero-indexed, so the first sheet is numbered 0.

    Note: if the component only has one sheet and you hide it, then nothing shows up in the component.

    Example
    This example hides a sheet in a multiple sheet component.
    FarPoint.Web.Spread.SheetView sv;
    sv=FpSpread1.Sheets[4];
    sv.Visible=false;
    Dim sv As FarPoint.Web.Spread.SheetView
    sv=FpSpread1.Sheets(4)
    sv.Visible=False
    See Also