GrapeCity MultiRow Windows Forms Documentation
ScrollBars Property (TextBoxCell)


Gets or sets the type of scroll bars to display for the cell.
Syntax
<DefaultValueAttribute()>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the behavior of the scroll bars in the TextBoxCell.")>
Public Property ScrollBars As ScrollBars
Dim instance As TextBoxCell
Dim value As ScrollBars
 
instance.ScrollBars = value
 
value = instance.ScrollBars
[DefaultValue()]
[Localizable(true)]
[SRCategory("Appearance")]
[SRDescription("Indicates the behavior of the scroll bars in the TextBoxCell.")]
public ScrollBars ScrollBars {get; set;}

Property Value

One of the System.Windows.Forms.ScrollBars values. The default is System.Windows.Forms.ScrollBars.None.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not a System.Windows.Forms.ScrollBars value.
Remarks
Regardless of the value of this property, scroll bars are shown only when they are needed. Use this property to prevent scroll bars from appearing. This is useful, for example, when you want to provide an alternative user interface (UI) for scrolling.
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

TextBoxCell Class
TextBoxCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.