摘要: 本文主要针对使用DataGrid动态绑定数据对象,并实现行列转换效果。一,前台绑定using System;using System.Collections;using System.Collections.Generic;using System.Collections.ObjectModel;u... 阅读全文
posted @ 2014-08-27 16:05 Code & Life 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 一,需要动态绑定Path 1 8 9 10 二,生成Path 1 private LineType _lineType = LineType.VLine; 2 public LineType LineType 3 { 4 get ... 阅读全文
posted @ 2014-08-27 15:45 Code & Life 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 一,动态生成Grid 1 public static Grid CreateGrid(List List) 2 { 3 var g = new Grid(); 4 if (null == List) return g; 5 ... 阅读全文
posted @ 2014-08-27 15:25 Code & Life 阅读(296) 评论(0) 推荐(0) 编辑