| C1.Xaml.FlexGrid アセンブリ > C1.Xaml.FlexGrid 名前空間 > C1FlexGrid クラス > HitTest メソッド : HitTest(RoutedEventArgs) メソッド |
'宣言 Public Overloads Function HitTest( _ ByVal e As Windows.UI.Xaml.RoutedEventArgs _ ) As HitTestInfo
public HitTestInfo HitTest( Windows.UI.Xaml.RoutedEventArgs e )
void _flex_MouseMove(object sender, MouseEventArgs e) { var ht = _flex.HitTest(e); _tb.Text = string.Format( "HitTest:: cell type {0}, row {1}, column {2}, content '{3}'", ht.CellType, // Cell、ColumnHeader、RowHeader など ht.Row, ht.Column, ht.CellRange.IsValid ? _flex[ht.Row, ht.Column] : "n/a"); }