出於某種原因,我無法選中或取消選中我的TreeListView中的複選框。無法檢查TreeListView中的複選框(ObjectListView)
嗯,我沒有設置AspectName因爲我頂層類不包含相應的屬性,但我用了一個代表,而不是
treeElementsColSpoofing.AspectGetter = delegate(object o)
{
if (o is ClassA)
{
return ((ClassA)o).SomeList.Exists(x => x.SomeObject.Name == "Some name");
}
return string.Empty;
};
。
這應該是一條評論。沒有答案。 – 2012-01-25 11:37:36