<dxg:TreeListColumn Header="{DynamicResource ResourceKey=ResRoomNumber}" MinWidth="80" AllowEditing="True"> <dxg:TreeListColumn.CellTemplate> <DataTemplate> <dxe:TextEdit EditValue="{Binding Path=RowData.Row.AEncounter.RoomNum,Mode=TwoWay}" Name="teRoomNum"/> </DataTemplate> </dxg:TreeListColumn.CellTemplate> </dxg:TreeListColumn>
原文:http://www.cnblogs.com/quietwalk/p/3531685.html