public override void Execute(object parameter) { JsonObject obj = this.Data.JsonObject; obj.TreatAsText(); _tree.SelectItem(obj.ViewObject); }
public override async void Execute(object parameter) { JsonObject obj = this.Data.JsonObject; await obj.TreatAsJson(); _tree.SelectItem(obj.ViewObject).IsExpanded = true; if (obj.AllChildren.Count <= 10) { _tree.ExpandSubtree(obj.ViewObject, int.MaxValue); } }