public static void Select(UIElement element) { var action = new CallMethodAction(() => { SelectionManager.Select(element); }, null); Record(action); }
public virtual void Select(UIElement element) { SelectionManager.Select(element); DragDropGrid grid = this.Parent as DragDropGrid; if (grid == null) { return; } var proxy = new GridItemProxy(grid, this); Designer.Instance.GridPropertyGrid.Show(proxy, Designer.Instance.ActionManager); }