Version

ScrollBarLook Property (UltraPanel)

Gets or sets the ScrollBarLook instance which defines the appearance of the scroll bars.
Syntax
'Declaration
 
Public Property ScrollBarLook As Infragistics.Win.UltraWinScrollBar.ScrollBarLook
public Infragistics.Win.UltraWinScrollBar.ScrollBarLook ScrollBarLook {get; set;}

Property Value

The ScrollBarLook instance which defines the appearance of the scroll bars.
Example
The following code demonstartes how to modify the appearance of the UltraPanel.

Imports System.Windows.Forms
Imports Infragistics.Win

' Set the back color of the UltraPanel
Me.UltraPanel1.Appearance.BackColor = Color.Blue

' Set the border style so that a solid border is visible around the control.
Me.UltraPanel1.BorderStyle = UIElementBorderStyle.Solid

' Set the back color of all elements of the scroll bars.
Me.UltraPanel1.ScrollBarLook.Appearance.BackColor = Color.Red

' Turn off themes so the appearance of the scroll bars will always be visible.
Me.UltraPanel1.UseOsThemes = DefaultableBoolean.False

' Show the min and max buttons in each scroll bar.
Me.UltraPanel1.ScrollBarLook.ShowMinMaxButtons = DefaultableBoolean.True
using System.Windows.Forms;
using Infragistics.Win;

// Set the back color of the UltraPanel
this.ultraPanel1.Appearance.BackColor = Color.Blue;

// Set the border style so that a solid border is visible around the control.
this.ultraPanel1.BorderStyle = UIElementBorderStyle.Solid;

// Set the back color of all elements of the scroll bars.
this.ultraPanel1.ScrollBarLook.Appearance.BackColor = Color.Red;

// Turn off themes so the appearance of the scroll bars will always be visible.
this.ultraPanel1.UseOsThemes = DefaultableBoolean.False;

// Show the min and max buttons in each scroll bar.
this.ultraPanel1.ScrollBarLook.ShowMinMaxButtons = DefaultableBoolean.True;
Requirements

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

See Also