In my class 'ScheduleViewModel' I have the following property:
private ReminderFilter filter;
public ReminderFilter Filter
{
get { return filter; }
set
{
filter = value;
NotifyPropertyChanged("Filter");
}
}
What I would like to do is bind to the properties of this object without needing to expose them in the View Model. I have tried the following XAML with no success:
<CheckBox IsChecked="{Binding Filter.Complete, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" Content="Show Completed"></CheckBox>
Any suggestions?