'宣言 Protected Overrides Sub OnMouseEnterElement( _ ByVal e As Infragistics.Win.UIElementEventArgs _ )
protected override void OnMouseEnterElement( Infragistics.Win.UIElementEventArgs e )
Private Sub UltraGrid1_MouseEnterElement(ByVal sender As Object, ByVal e As Infragistics.Win.UIElementEventArgs) Handles UltraGrid1.MouseEnterElement Debug.WriteLine("Enter Element: " + e.Element.GetType().ToString()) End Sub Private Sub UltraGrid1_MouseLeaveElement(ByVal sender As Object, ByVal e As Infragistics.Win.UIElementEventArgs) Handles UltraGrid1.MouseLeaveElement Debug.WriteLine("Leave Element: " + e.Element.GetType().ToString()) End Sub
using System.Diagnostics; private void ultraGrid1_MouseEnterElement(object sender, Infragistics.Win.UIElementEventArgs e) { Debug.WriteLine( "Enter Element: " + e.Element.GetType().ToString() ); } private void ultraGrid1_MouseLeaveElement(object sender, Infragistics.Win.UIElementEventArgs e) { Debug.WriteLine( "Leave Element: " + e.Element.GetType().ToString() ); }