Spread ASP.NET 6.0 Product Documentation
SetChildVisible Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SetChildVisible Method


child
Child view for which to set whether it is visible
visible
Whether to display the child view

Glossary Item Box

Sets whether to display the child view in a hierarchical display.

Syntax

Visual Basic (Declaration) 
Public Sub SetChildVisible( _
   ByVal child As SheetView, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim child As SheetView
Dim visible As Boolean
 
instance.SetChildVisible(child, visible)
C# 
public void SetChildVisible( 
   SheetView child,
   bool visible
)

Parameters

child
Child view for which to set whether it is visible
visible
Whether to display the child view

Remarks

If the visible parameter is set to true and the parent row of the child view is expanded, the child view is displayed. Otherwise, the child view is not displayed.

Example

This example sets whether to display the child view.
C#Copy Code
FarPoint.Web.Spread.SheetView sv, svc;
sv = FpSpread1.ActiveSheetView;
svc = sv.GetChildView(1, 0);
sv.SetChildVisible(svc, true);
Visual BasicCopy Code
Dim sv, svc As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
svc = sv.GetChildView(1, 0)
sv.SetChildVisible(svc, True)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.