Data NavigatorMove To(Row Position) 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: 2024.12.31.0
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.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public bool MoveTo(
RowPosition position
)VB
Public Function MoveTo (
position As RowPosition
) As BooleanC++
public:
bool MoveTo(
RowPosition position
)F#
member MoveTo :
position : RowPosition -> bool Parameters
- position RowPosition
- The position to which the focus is moved
Return Value
BooleanTrue 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
| ArgumentOutOfRangeException | This is thrown if there is no data source or there are no rows. |
| NotSupportedException | This 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. |