Select first item in Silverlight combobox using MVVM pattern
This is my first foray in MVVM and I've now encountered the following issue:

I've got my ViewModel:

      public List<WorkCellGroupInfo> WorkCellGroupInfoCollection
        {
            get
            {
                return _workCellGroupInfoCollection;
            }
            set
            {
                _workCellGroupInfoCollection = value;
                NotifyPropertyChanged( "WorkCellGroupInfoCollection" );

                SelectedWorkCellGroup = _workCellGroupInfoCollection.FirstOrDefault();
            }
        }

        public WorkCellGroupInfo SelectedWorkCellGroup
        {
            get
            {
                return _selectedWorkCellGroup;
            }
            set
            {
                _selectedWorkCellGroup = value;
                NotifyPropertyChanged( "SelectedWorkCellGroup" );
            }
        }

and my XAML:

    <ComboBox x:Name="WorkCellGroup" 
    ItemsSource="{Binding WorkCellGroupInfoCollection}" 
    SelectedItem="{Binding SelectedWorkCellGroup, Mode=TwoWay}" 
    DisplayMemberPath="Name">

The combobox gets populated with the data but I can't get the first item selected. What am I doing wrong?
Select first item in Silverlight combobox using MVVM pattern
===

This is my first foray in MVVM and I've now encountered the following issue:

I've got my ViewModel:

      public List<WorkCellGroupInfo> WorkCellGroupInfoCollection
        {
            get
            {
                return _workCellGroupInfoCollection;
            }
            set
            {
                _workCellGroupInfoCollection = value;
                NotifyPropertyChanged( "WorkCellGroupInfoCollection" );

                SelectedWorkCellGroup = _workCellGroupInfoCollection.FirstOrDefault();
            }
        }

        public WorkCellGroupInfo SelectedWorkCellGroup
        {
            get
            {
                return _selectedWorkCellGroup;
            }
            set
            {
                _selectedWorkCellGroup = value;
                NotifyPropertyChanged( "SelectedWorkCellGroup" );
            }
        }

and my XAML:

    <ComboBox x:Name="WorkCellGroup" 
    ItemsSource="{Binding WorkCellGroupInfoCollection}" 
    SelectedItem="{Binding SelectedWorkCellGroup, Mode=TwoWay}" 
    DisplayMemberPath="Name">

The combobox gets populated with the data but I can't get the first item selected. What am I doing wrong?