public SpecifyingTheSource() { InitializeComponent(); var dataContext = new SomeNotifyPropertyChangedImplementingClass(); dataContext.NotifyingProperty = "Notifying Property value from start"; this.DataContext = dataContext; }
public BindingToNotifyPropertyChangedProperties() { InitializeComponent(); var dataContext = new SomeNotifyPropertyChangedImplementingClass(); dataContext.NotifyingProperty = "Notifying Property value from start"; this.DataContext = dataContext; chkPropertyNotPresent.DataContext = new SomeNotifyPropertyChangedImplementingClass(); chkPropertyIsPresent.DataContext = new IsCheckedDataContext(); }
public BindingToNotifyingProperties() { InitializeComponent(); var dataContext = new SomeNotifyPropertyChangedImplementingClass(); dataContext.NotifyingProperty = "Notifying Property value from start"; this.DataContext = dataContext; chkPropertyNotPresent.DataContext = new SomeNotifyPropertyChangedImplementingClass(); chkPropertyIsPresent.DataContext = new IsCheckedDataContext(); }