我从下面的代码中得到了以下错误...不确定为什么(是的,它会生成所有的4,尽管它是相同的2重复)。哦,它不会产生交替行的效果,即使在这些错误弹出之前,相同的代码也是有效的。source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.DataGridsource for binding with reference 'RelativeSource FindAncestor, Ancesto