MESCIUS SPREAD for Windows Forms 17.0J
Children プロパティ

このアウトライン(範囲グループ)の子グループを取得します。
構文
'Declaration
 
Public ReadOnly Property Children As RangeGroupInfo()
public RangeGroupInfo[] Children {get;}
次のサンプルコードは、範囲グループの子の開始位置を返します。
private void Button1_Click(object sender, System.EventArgs e) 
{
FarPoint.Win.Spread.RangeGroupInfo[] rgi = fpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1);
FarPoint.Win.Spread.RangeGroupInfo[] child = rgi[0].Children
MessageBox.Show(child[0].Start.ToString());
}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim rgi() As FarPoint.Win.Spread.RangeGroupInfo = FpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1)
Dim child() As FarPoint.Win.Spread.RangeGroupInfo = rgi(0).Children
MsgBox(child(0).End.ToString())
End Sub
参照

RangeGroupInfo クラス
RangeGroupInfo メンバ

 

 


© MESCIUS inc. All rights reserved.