Spread Windows Forms 6.0 Product Documentation
SheetView Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ChildViewCreatedEventArgs Class : SheetView Property


Glossary Item Box

Gets the child SheetView object being created.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property SheetView As SheetView
Visual Basic (Usage)Copy Code
Dim instance As ChildViewCreatedEventArgs
Dim value As SheetView
 
value = instance.SheetView
C# 
public SheetView SheetView {get;}

Property Value

SheetView object containing the child sheet

Example

C#Copy Code
private void fpSpread1_ChildViewCreated_1(object sender, FarPoint.Win.Spread.ChildViewCreatedEventArgs e)
{
    string s;
    int i;
    s = e.SheetView.ParentRelationName;
    i = e.SheetView.ParentRowIndex;
    label1.Text = "The name of the parent relation is " + s + " and the parent row index is " + i.ToString();
}
Visual BasicCopy Code
Private Sub FpSpread1_ChildViewCreated(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ChildViewCreatedEventArgs) Handles
FpSpread1.ChildViewCreated
    Dim s As String
    Dim i As Integer
    s = e.SheetView.ParentRelationName
    i = e.SheetView.ParentRowIndex
    Label1.Text = "The name of the parent relation is " & s & " and the parent row index is " & i.ToString()
End Sub

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.