2012-07-31 83 views
0

HI此視圖需要右對齊,目前是左對齊的,需要哪個命令才能使其正確。如何向右對齊xaml網格

<GridViewColumn DisplayMemberBinding="{Binding Unit}" 
           Header="Nursing Unit" 
           Width="70" /> 
       <GridViewColumn DisplayMemberBinding="{Binding Day}" 
           Header="Day" 
           Width="55" /> 
       <GridViewColumn DisplayMemberBinding="{Binding Eve}" 
           Header="Eve" 
           Width="55" /> 
       <GridViewColumn DisplayMemberBinding="{Binding Night}" 
           Header="Night" 
           Width="55" /> 

回答

0

將網格屬性FlowDirection設置爲「RightToLeft」。

+0

我輸入了它,但它重新命令cols以及我只是想在列內右對齊 2012-07-31 19:01:43