列表的列中使用数据模板

 <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>

 

posted @ 2014-01-23 20:10  quietwalk  阅读(174)  评论(0编辑  收藏  举报