Gets/sets the number of pixels by which the control is scrolled when the end user clicks the up/down scroll arrows on the vertical scrollbar.
The following code samples demonstrates how the UltraListView's scrollbars can be customized:
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinListView
Private Sub ConfigureScrollBar()
Me.ultraListView1.ScrollBarLook.Appearance.ThemedElementAlpha = Alpha.Transparent
Me.ultraListView1.ScrollBarLook.Appearance.BackColor = Color.White
Me.ultraListView1.ScrollBarLook.Appearance.BackColor2 = Color.LightBlue
Me.ultraListView1.ScrollBarLook.Appearance.BackGradientStyle = GradientStyle.Vertical
Me.ultraListView1.ScrollbarSmallChangeHorizontal = 5
Me.ultraListView1.ScrollbarSmallChangeVertical = 5
End Sub
'Declaration
Public Property ScrollbarSmallChangeVertical As Integer
using Infragistics.Win;
using Infragistics.Win.UltraWinListView;
using System.Diagnostics;
private void ConfigureScrollBar()
{
this.ultraListView1.ScrollBarLook.Appearance.ThemedElementAlpha = Alpha.Transparent;
this.ultraListView1.ScrollBarLook.Appearance.BackColor = Color.White;
this.ultraListView1.ScrollBarLook.Appearance.BackColor2 = Color.LightBlue;
this.ultraListView1.ScrollBarLook.Appearance.BackGradientStyle = GradientStyle.Vertical;
this.ultraListView1.ScrollbarSmallChangeHorizontal = 5;
this.ultraListView1.ScrollbarSmallChangeVertical = 5;
}
'Declaration
Public Property ScrollbarSmallChangeVertical As Integer
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2