static void view_CellValueChanging(object sender, CellValueChangedEventArgs e) { TreeListView view = sender as TreeListView; if ((bool)e.Column.GetValue(CommitOnValueChangedProperty)) { view.PostEditor(); } }