【发布时间】:2020-11-19 05:43:59
【问题描述】:
我有对象患者包含用户对象,它包含我想在 GridControl 中显示它们的 ICollection,所以我尝试了 FieldName="User.Phone" 但它显示 System.Collection.ObjectModle...
那么我如何在 GridControl 中显示 ICollection 对象
<dxg:GridColumn VisibleIndex="2"
FieldName="User.Phone"
IsSmart="True"
ReadOnly="True"
MinWidth="120"
Header="Phone" />
【问题讨论】:
-
dxg来自哪里? -
xmlns:dxg="schemas.devexpress.com/winfx/2008/xaml/grid"
标签: c# wpf entity-framework data-binding