public XmlDataProvider() { _id = _maxid++; _ui = new OnWidgetUI() { DataContext = this }; _namespaces = ""; }
public XmlDataProvider() { _id = _maxid++; try { CustomUI = new OnWidgetUI() { DataContext = this }; } catch (Exception e) { CustomUI = new TextBox() { Text = e.ToString(), AcceptsReturn = true, TextWrapping = TextWrapping.Wrap, Height = 256, FontWeight = FontWeights.Normal, VerticalScrollBarVisibility = ScrollBarVisibility.Auto }; } _namespaces = ""; }