PowerTools SPREAD for Windows Forms 8.0J
SheetView プロパティ (ChildViewCreatedEventArgs)


作成された子SheetViewオブジェクトを取得します。
構文
'Declaration
 
Public ReadOnly Property SheetView As SheetView
'使用法
 
Dim instance As ChildViewCreatedEventArgs
Dim value As SheetView
 
value = instance.SheetView
public SheetView SheetView {get;}

プロパティ値

子シートを含むSheetViewオブジェクト
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
参照

ChildViewCreatedEventArgs クラス
ChildViewCreatedEventArgs メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.