DataControlBase.KeepFocusedRowOnUpdate Property

Gets or sets whether the currently selected row retains focus when data is sorted, grouped or filtered.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.2.dll

Declaration

public bool KeepFocusedRowOnUpdate { get; set; }
Public Property KeepFocusedRowOnUpdate As Boolean

Property Value

Type Description
Boolean

true if the currently selected focus retains focus when data is sorted, grouped or filtered; false if the selected row handle (visual position) is kept when these actions are performed.

Remarks

If the KeepFocusedRowOnUpdate property is set to false the value of the DataControlBase.SelectedItemHandle property is not changed when the data is sorted, grouped or filtered. Therefore, focus may move to another row when any of these actions is performed.

See Also