If I have a property in my C#;
public CollectionView Months
{
get
{
CollectionView retList = new Enumerations.Months().ToCollectionView<Enumerations.Months>();
return retList;
}
}
And I have a ComboBox;
<ComboBox x:Name="ddlMonth" Grid.Row="3" Grid.Column="1"
ItemsSource="{Binding Source={StaticResource Months}}"/>
How can I bind my ComboBox to my property?
I should add I'm a complete xaml newbie.