バージョン

OnMouseEnterElement メソッド (UltraGrid)

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

パラメータ

e
イベントのデータを含む System.EventArgs
使用例
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() );
		
}
参照