DataNavigatorMoveTo(RowPosition) Method

This method is used to move the focus to the specified fixed row position in the data source

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public bool MoveTo(
	RowPosition position
)

Parameters

position  RowPosition
The position to which the focus is moved

Return Value

Boolean
True if the specified position now has the focus or false if the focus could not be set due to validation failure on the current row.

Remarks

Before moving to the specified position, the IsValid property is checked to ensure that it is safe to move. If it returns false, the focus will stay on the current row.

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if there is no data source or there are no rows.
NotSupportedExceptionThis is thrown if additions // are not currently allowed as defined by the current AllowAdditions property setting and an attempt is made to move the NewRow position.

See Also