/// <summary>
        /// Selects current record in the <see cref="FeatureDataGrid"/>.
        /// </summary>
        private void SelectCurrentRecord()
        {
            if (recordsCount == 0)
            {
                return;
            }

            IList gridRows = ItemsSource.AsList();

            ValidateCurrentRecordNumber();
            SelectedItem = gridRows[currentRecordNumber];
            ScrollGridRowIntoView(SelectedItem);
        }