Version

ScrollBarDisplayStyle Property

Specifies if and when to display the scrollbars. Default value is Never.
Syntax
'Declaration
 
Public Property ScrollBarDisplayStyle As ScrollBarDisplayStyle
public ScrollBarDisplayStyle ScrollBarDisplayStyle {get; set;}
Remarks

By default the editor doesn't display the scrollbars even if there is more content then the available space. Set this property to display the scrollbars.

Example
The following code enables scrollbars and sets scrollbar view style.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.Misc
Imports Infragistics.Win.FormattedLinkLabel

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
        ' Set ScrollBarDisplayStyle to display scrollbars.
        Me.ultraFormattedLinkLabel1.ScrollBarDisplayStyle _
            = Infragistics.Win.UltraWinScrollBar.ScrollBarDisplayStyle.Always

        ' Use ScrollBarLook property set the appearance of the scrollbars.
        Me.ultraFormattedLinkLabel1.ScrollBarLook.ViewStyle _
            = Infragistics.Win.UltraWinScrollBar.ScrollBarViewStyle.Office2007
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.Misc;
using Infragistics.Win.FormattedLinkLabel;
using System.Diagnostics;


		private void button1_Click(object sender, System.EventArgs e)
		{
			// Set ScrollBarDisplayStyle to display scrollbars.
			this.ultraFormattedLinkLabel1.ScrollBarDisplayStyle 
				= Infragistics.Win.UltraWinScrollBar.ScrollBarDisplayStyle.Always;

			// Use ScrollBarLook property set the appearance of the scrollbars.
			this.ultraFormattedLinkLabel1.ScrollBarLook.ViewStyle 
				= Infragistics.Win.UltraWinScrollBar.ScrollBarViewStyle.Office2007;
		}
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