C1.Silverlight.FlexGrid.5 Assembly > C1.Silverlight.FlexGrid Namespace > C1FlexGrid Class > HitTest Method : HitTest(RoutedEventArgs) Method |
'Declaration Public Overloads Function HitTest( _ ByVal e As System.Windows.RoutedEventArgs _ ) As HitTestInfo
public HitTestInfo HitTest( System.Windows.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, // e.g. Cell, ColumnHeader, RowHeader ht.Row, ht.Column, ht.CellRange.IsValid ? _flex[ht.Row, ht.Column] : "n/a"); }