Xceed Grid for WinForms v4.3 Documentation
ScrollBars Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : ScrollBars Property
Gets or sets a value indicating which scrollbars will be diplayed.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates which scrollbars will be diplayed.")>
<CategoryAttribute("Appearance")>
<ApplyToDesignerAttribute(True)>
Public Property ScrollBars As GridScrollBars
'Usage
 
Dim instance As GridControl
Dim value As GridScrollBars
 
instance.ScrollBars = value
 
value = instance.ScrollBars
[Description("Indicates which scrollbars will be diplayed.")]
[Category("Appearance")]
[ApplyToDesigner(true)]
public GridScrollBars ScrollBars {get; set;}

Property Value

A GridScrollBars value indicating which scrollbars will be displayed.
Both Display both a horizontal and a vertical scroll bar when needed.
Horizontal Display a horizontal scroll bar only when needed.
Vertical Display a vertical scroll bar only when needed.
ForcedBoth Always display both a horizontal and a vertical scroll bar.
ForcedHorizontal Always display a horizontal scroll bar.
ForcedVertical Always display a vertical scroll bar.
None No scroll bars are displayed.
Requirements

Target Platforms: 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

Reference

GridControl Class
GridControl Members