'宣言 Public Delegate Sub RowScrollRegionEventHandler( _ ByVal sender As Object, _ ByVal e As RowScrollRegionEventArgs _ )
public delegate void RowScrollRegionEventHandler( object sender, RowScrollRegionEventArgs e )
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Imports System.Diagnostics Private Sub UltraGrid1_AfterRowRegionSize(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.RowScrollRegionEventArgs) Handles ultraGrid1.AfterRowRegionSize ' 以下のコードは、サイズ変更の後に行スクロール領域の新しい高さを出力します Debug.WriteLine("AfterRowRegionSize: new height of the row scroll region is " & e.RowScrollRegion.Height.ToString()) End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraGrid1_AfterRowRegionSize(object sender, Infragistics.Win.UltraWinGrid.RowScrollRegionEventArgs e) { // 以下のコードは、サイズ変更の後に行スクロール領域の新しい高さを出力します Debug.WriteLine( "AfterRowRegionSize: new height of the row scroll region is " + e.RowScrollRegion.Height.ToString( ) ); }