private void ComponentsListBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e) { CurrentArrowIntentComponentVm = ComponentsListBox.SelectedItem as ArrowIntentComponentVm; ArrowIntentComponentDisplayer aicd = new ArrowIntentComponentDisplayer(); var properties = aicd.GetTypedMemberDisplayProperties(); this.DataGridUi.Apply(properties); }