バージョン

ScrollBounds プロパティ

UltraGridの垂直方向の行スクロール方法を指定します。デフォルトは ScrollToLastItem です。
シンタックス
'宣言
 
Public Property ScrollBounds As ScrollBounds
public ScrollBounds ScrollBounds {get; set;}
解説

ScrollBoundsScrollToFill に設定すると、最後の行が表示された時点でそれ以上下にスクロールできなくなります。ScrollToLastItem に設定すると、最後の行が行スクロール リージョンの唯一の表示行になるまでスクロールできます。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid


    Private Sub UltraGrid1_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout
        ' Set the ScrollStyle to immediate so that the UltraGrid scrolls the rows
        ' while the user drags the thumb. By default, UltraGrid displays a tooltip
        ' and scrolls the rows when the user releases the thumb.
        e.Layout.ScrollStyle = ScrollStyle.Immediate

        ' Se the ScrollBounds to ScrollToFill so that the UltraGrid stops scrolling
        ' once the last visible row is fully visible. By default UltraGrid will
        ' continue scrolling until only a single row is visible.
        e.Layout.ScrollBounds = ScrollBounds.ScrollToFill
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;


		private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
		{
			// Set the ScrollStyle to immediate so that the UltraGrid scrolls the rows
			// while the user drags the thumb. By default, UltraGrid displays a tooltip
			// and scrolls the rows when the user releases the thumb.
			e.Layout.ScrollStyle = ScrollStyle.Immediate;

			// Se the ScrollBounds to ScrollToFill so that the UltraGrid stops scrolling
			// once the last visible row is fully visible. By default UltraGrid will
			// continue scrolling until only a single row is visible.
			e.Layout.ScrollBounds = ScrollBounds.ScrollToFill;
		}
参照