Back to Devexpress

DataViewBase.AllowScrollToFocusedRow Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-9d677dcf.md

latest1.6 KB
Original Source

DataViewBase.AllowScrollToFocusedRow Property

Gets or sets whether on not a View is automatically scrolled to the focused row when it changes. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AllowScrollToFocusedRow { get; set; }
vb
Public Property AllowScrollToFocusedRow As Boolean

Property Value

TypeDescription
Boolean

true if a View is automatically scrolled to the focused row when it changes; otherwise, false.

|

Remarks

By default, each time the focused row changes, a Views is automatically scrolled to display the focused row onscreen. To disable the default behavior, set the AllowScrollToFocusedRow property to false.

To learn more, see Focus and Navigation.

See Also

AutoScrollOnSorting

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace