private void UpdateViewLayout(LineViewBusStop lineViewBusStop)
        {
            BusStop busStop = lineViewBusStop.BusStop;

            UpdateBusStopName(lineViewBusStop);

            SetDefaultStyle(busStop);
            SetBusStopStyle(busStop);
        }
        private void UpdateStopsInComboBox()
        {
            foreach (var busStop in _SelectedTrack.BusStops)
            {
                string editedName = busStop.GetBusStopEditedName();

                LineViewBusStop editedBusStop = new LineViewBusStop()
                {
                    Name    = editedName,
                    BusStop = busStop
                };

                _ListOfBusStopsInTrack.Add(editedBusStop);

                if (busStop.Id == _SelectedBusStop.Id)
                {
                    BusStopsComboBox.SelectedItem = editedBusStop;
                }
            }
        }
 private void UpdateBusStopName(LineViewBusStop lineViewBusStop)
 => BusStopNameTextBlock.Text = lineViewBusStop.Name;