'宣言 Public ReadOnly Property ScrollBarLook As UltraListViewScrollBarLook
public UltraListViewScrollBarLook ScrollBarLook {get;}
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
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; }