public ChartGaugeView(SolidColorBrush section1, SolidColorBrush section2, SolidColorBrush section3) { InitializeComponent(); m_ViewModel = new ChartGaugeViewModel(section1, section2, section3); this.DataContext = m_ViewModel; }
public ChartGaugeView() { InitializeComponent(); m_ViewModel = new ChartGaugeViewModel(); this.DataContext = m_ViewModel; }