バージョン

OnMouseEnterElement メソッド (UltraComponentControlManagerBase)

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

パラメータ

e
UIElementイベント引数。
使用例
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() );
		
}
参照