Skip to main content

DataViewBase.FocusedRowHandle Property

Gets or sets the focused row's handle. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

[Browsable(false)]
[CloneDetailMode(CloneDetailMode.Skip)]
public int FocusedRowHandle { get; set; }

#Property Value

Type Description
Int32

An integer value that specifies the focused row's handle.

#Remarks

The focused row isn't displayed if the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.None. To specify the focused row, use the FocusedRowHandle property or the DataViewBase.MoveFocusedRow method. If the specified row isn't visible onscreen, a View is automatically scrolled to make the focused row visible.

After the focused row has been changed, the DataViewBase.FocusedRowChanged event is raised.

To learn more, see Moving Row Focus.

#Examples

See Also