'宣言 Protected Overridable Sub OnMouseLeaveElement( _ ByVal e As UIElementEventArgs _ )
protected virtual void OnMouseLeaveElement( 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() ); }