In the C# Code behind, how do you set the selected item to an item already in the control. My XAML is
So in the view model, I want to iterate through all the Items, find one, then set the control's selected item to it. How do you iterate over the items collection?
<telerik:RadOutlookBar x:Name="RadOutlookBar" Grid.Column="0" SelectedItem="{Binding SelectedSection, Mode=TwoWay}"> </telerik:RadOutlookBar> So in the view model, I want to iterate through all the Items, find one, then set the control's selected item to it. How do you iterate over the items collection?