'Declaration Public ReadOnly Property TabStripInfo As TabStripHitTestInformation
'Usage Dim instance As HitTestInformation Dim value As TabStripHitTestInformation value = instance.TabStripInfo
public TabStripHitTestInformation TabStripInfo {get;}
'Declaration Public ReadOnly Property TabStripInfo As TabStripHitTestInformation
'Usage Dim instance As HitTestInformation Dim value As TabStripHitTestInformation value = instance.TabStripInfo
public TabStripHitTestInformation TabStripInfo {get;}
void fpSpread1SheetTabClick(object sender, SheetTabClickEventArgs e) { Rectangle r = fpSpread1.GetRootWorkbook().GetTabStripRectangle(); FarPoint.Win.Spread.HitTestInformation hti; hti = fpSpread1.HitTest(r.X, r.Y); if (hti.Type == HitTestType.TabStrip) { MessageBox.Show(hti.TabStripInfo.Button.ToString()); } }
Private Sub FpSpread1SheetTabClick(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetTabClickEventArgs) Dim r As Rectangle r = FpSpread1.GetRootWorkbook.GetTabStripRectangle() Dim hti As FarPoint.Win.Spread.HitTestInformation hti = FpSpread1.HitTest(r.X, r.Y) If hti.Type = HitTestType.TabStrip Then MsgBox(hti.TabStripInfo.Button) End If End Sub