/// <summary> /// 更新UI元素 /// </summary> /// <param name="shape"></param> private void UpdateUIElement(ShapeBase shape) { UpdateUIElement(shape, (NodeBase)View.FindItem(shape)); }