Skip to main content

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.v14.2.Core.dll

#Declaration

[CloneDetailMode(CloneDetailMode.Skip)]
public bool AllowScrollToFocusedRow { get; set; }

#Property Value

Type Description
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