I have a situation where my view has a DataContext bound to the ViewModel but one of my controls inside the view has its DataContext Set to a property of the ViewModel. The first time I change that ViewModel, it shows the changes but after that, if I change property inside the ViewModel no changes are reflected back to the view.
//Somewhere inside my View <TaicoControl:FlashMessage DataContext="{Binding FlashMessage}" DockPanel.Dock="Top" FadesOutAutomatically="True" FontFamily="BPG Arial" Message="{Binding Message}" MessageType="{Binding FlashType}" /> //End of the View public sealed class ShellViewModel : ViewModelBase { public FlashMessageModel FlashMessage { get; private set; } protected override void SetupEvents() { RegisterForEvent<SystemBaloonRequiered>(OnBaloonRequest); RegisterForEvent<FlashRequest>(OnFlashRequested); base.SetupEvents(); } #region Message Handlers private void OnFlashRequested(FlashRequest obj) { FlashMessage = null; FlashMessage = new FlashMessageModel { Message = obj.Message, FlashType = obj.FlashType }; RaisePropertyChanged(() => FlashMessage); } }