MESCIUS SPREAD for Windows Forms 15.0J
InRowPanel プロパティ
使用例 

位置がアウトライン(範囲グループ)の行パネル領域を指すかどうかを取得します。
構文
'宣言
 
Public ReadOnly Property InRowPanel As Boolean
public bool InRowPanel {get;}
使用例
次のサンプルコードは、位置が範囲グループ行パネル領域を指すかどうかを返します。
private void fpSpread1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) 
{
FarPoint.Win.Spread.RangeGroupHitTestInformation rght;
FarPoint.Win.Spread.HitTestInformation ht;
ht = fpSpread1.HitTest(e.X, e.Y);
rght = ht.RangeGroupInfo;
bool b = rght.InRowBar;
bool b2 = rght.InRowPanel;
MessageBox.Show(b.ToString() + " - " + b2.ToString());
}
Private Sub FpSpread1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles FpSpread1.MouseDown
Dim rght As FarPoint.Win.Spread.RangeGroupHitTestInformation
Dim ht As FarPoint.Win.Spread.HitTestInformation
ht = FpSpread1.HitTest(e.X, e.Y)
rght = ht.RangeGroupInfo
Dim b As Boolean = rght.InRowBar
Dim b2 As Boolean = rght.InRowPanel
MsgBox(b.ToString() & " - " & b2.ToString())
End Sub
参照

RangeGroupHitTestInformation クラス
RangeGroupHitTestInformation メンバ

 

 


© MESCIUS inc. All rights reserved.