Hi all,
I have a view model class that currently has one property 'RiskItemTypeList'.
Inside my Child Window control, i have a Silverlight Tab Control (SL Toolkit).
Tab1 hosts a Grid which among other things hosts a Rad Grid View.
In XAML i am trying to databind a GridViewComboBoxColumn to the View Model property exposed, with no luck!
Can anyone see what i am missing? I am sure it an issue of scope, but not sure how to do this properly in XAML!
<Grid.Resources>
<viewmodel:RiskItemViewModel x:Name="ViewModel"/>
</Grid.Resources>
<telerik:GridViewComboBoxColumn Header="Type" ItemsSource="{Binding RiskItemTypeList, Source= {StaticResource ViewModel}}">
</telerik:GridViewComboBoxColumn>
If i use the same ItemsSource Binding syntax on a combo box outside the grid view, everything works as expected.
Any help appreciated.