Spread Windows Forms 9.0 Product Documentation
SheetView Property (ChildViewCreatedEventArgs)
Example 


Gets the child SheetView object being created.
Syntax
'Declaration
 
Public ReadOnly Property SheetView As SheetView
'Usage
 
Dim instance As ChildViewCreatedEventArgs
Dim value As SheetView
 
value = instance.SheetView
public SheetView SheetView {get;}

Property Value

SheetView object containing the child sheet
Example
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();
}
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ChildViewCreatedEventArgs Class
ChildViewCreatedEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.