InitializeComponent(); if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))return; // your code, eg viewModel
InitializeComponent(); if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this))return; // your code, eg viewModel