public ChallengeEditorDialog(IModel model, IChallenge challenge) { InitializeComponent(); Model = model; Challenge = challenge.GetCopy(); IsNewChallenge = false; DataContext = this; TestListView_SizeChanged(TestList, null); TestList.Items.Refresh(); }