DataListMoveTo(Int32) Method
This method is used to move the focus to the specified row in the data source
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public bool MoveTo(
int newRow
)
Public Function MoveTo (
newRow As Integer
) As Boolean
public:
bool MoveTo(
int newRow
)
member MoveTo :
newRow : int -> bool
- newRow Int32
- The zero-based row number to which the focus is moved
BooleanTrue if the specified row now has the focus or false if the focus could not be set due to
validation failure on the current row.
Before moving to the specified row, the
IsValid property is
checked on the current row template to ensure that it is safe to move. If it returns false, the
focus will stay on the current row.