我需要将列表视图设置为一个带有复杂头部的网格视图,类似于这样(基于我创建的三维对象列表):
| ---------- LEVEL 0 ------------ |
| -- Level 1a -- | -- Level 1b -- |
| Lvl A | Lvl B | Lvl A | Lvl B |
编辑:这大致上是我的对象模型
public class Measures
{
public string Caption { get; set; }
public List<Threshold> ThresholdList { get; set; }
}
public class Threshold
{
public string Caption { get; set; }
public double Value1 { get; set; }
public double Value2 { get; set; }
public double Value3 { get; set; }
public double Value4 { get; set; }
}
我需要绑定一个动态列表的Measures
(这是我的0级),然后是一个动态列表的Threshold
(1a级别...),并且对于每个阈值,如果它们不等于0,则显示值1到4。