GridViewColumn.CellTemplate

              <GridViewColumn Header="Sig" Width="210">
                       <GridViewColumn.CellTemplate>
                           <DataTemplate>
                                <StackPanel Orientation="Horizontal">
                                  <TextBlock Text="{Binding Path=Dose}" Margin="0,2,2,2"></TextBlock>
                                   <TextBlock Text="{Binding Path=DoseUnit}" Margin="2"></TextBlock>
                                   <TextBlock Text="{Binding Path=RouteName}" Margin="2"></TextBlock>
                                   <TextBlock Text="{Binding Path=DoseTiming}" Margin="2"></TextBlock>
                                  <TextBlock Text="{Binding Path=DoseOther}" Margin="2"></TextBlock>
                                </StackPanel>
                            </DataTemplate>
                       </GridViewColumn.CellTemplate>
               </GridViewColumn

 

posted @ 2014-01-23 19:57  quietwalk  阅读(2893)  评论(0编辑  收藏  举报