public AViewModel ViewModel { get; set; }
TextBlock Text="{Binding Path=ViewModel.SomeProperty}"
public AViewModel ViewModel { get{ return m_viewModel; } set { m_viewModel = value; DataContext = m_viewModel; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)