public DeveloperProfileView() { this.InitializeComponent(); ViewModel = new DeveloperProfileViewmodel(); this.DataContext = ViewModel; }
public DeveloperProfileView() { InitializeComponent(); ViewModel = new DeveloperProfileViewmodel(); DataContext = ViewModel; Unloaded += DeveloperProfileView_Unloaded; }
public DeveloperProfileView() { this.InitializeComponent(); ViewModel = new DeveloperProfileViewmodel(); this.DataContext = ViewModel; Messenger.Default.Register <GlobalHelper.FollowActivityMessageType>(this, ViewModel.FollowActivity); //Follow activity happened, refresh UI }