FrameworkElement CreateTextEditor(ItemList.SimpleItem sitem) {
			var tedit = new TextBox() {
				Text = sitem.value,
				MinWidth = 50,
				VerticalAlignment = VerticalAlignment.Center
			};
			tedit.SetUpdateTrigger(
				TextBox.TextProperty,
				(string v) => {
					sitem.value = v;
				}
			);
			return tedit;
		}