Back to Devexpress

GridOptionsBehavior.SmartVertScrollBar Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-b0e46d77.md

latest2.1 KB
Original Source

GridOptionsBehavior.SmartVertScrollBar Property

Gets or sets a value specifying whether scrolling the View to the bottom places the last row at the top of the View.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool SmartVertScrollBar { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property SmartVertScrollBar As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , if scrolling to the bottom places the last row at the bottom of the view; false if, as the result, the last row is placed at the top.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SmartVertScrollBar
GridView

.OptionsBehavior .SmartVertScrollBar

|

Remarks

Note

The SmartVertScrollBar setting is ignored if pixel-based vertical scrolling is enabled (see GridOptionsBehavior.AllowPixelScrolling).

See Also

GridOptionsBehavior Class

GridOptionsBehavior Members

DevExpress.XtraGrid.Views.Grid Namespace