バージョン

OnMouseLeaveElement メソッド (UltraControlBase)

マウスが要素から出た (要素の上から離れた) ときに呼び出されます。
シンタックス
'宣言
 
Protected Overridable Sub OnMouseLeaveElement( _
   ByVal e As UIElementEventArgs _
) 
protected virtual void OnMouseLeaveElement( 
   UIElementEventArgs e
)

パラメータ

e
UIElementEventArgs
使用例
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() );
		
}
参照