Spread for ASP.NET 8.0 Product Documentation
SetChildVisible Method
Example 


Child view for which to set whether it is visible
Whether to display the child view
Sets whether to display the child view in a hierarchical display.
Syntax
'Declaration
 
Public Sub SetChildVisible( _
   ByVal child As SheetView, _
   ByVal visible As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim child As SheetView
Dim visible As Boolean
 
instance.SetChildVisible(child, visible)
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.
FarPoint.Web.Spread.SheetView sv, svc;
sv = FpSpread1.ActiveSheetView;
svc = sv.GetChildView(1, 0);
sv.SetChildVisible(svc, true);
Dim sv, svc As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
svc = sv.GetChildView(1, 0)
sv.SetChildVisible(svc, True)
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Displaying Data as a Hierarchy

 

 


Copyright © GrapeCity, inc. All rights reserved.