2011-03-14 51 views

回答

2

使用gridsplitter在DataTemplate中,例如:

<DataTemplate> 
    <Grid> 
     <Grid.RowDefinitions> 
      <RowDefinition Height="Auto"/> 
      <RowDefinition Height="3"/> 
     </Grid.RowDefinitions> 
     <!-- Content here --> 
     <GridSplitter Grid.Row="1" HorizontalAlignment="Stretch" 
        ResizeBehavior="PreviousAndCurrent" ResizeDirection="Rows"/> 
    </Grid> 
</DataTemplate> 
+0

作品一种享受,非常感谢。 – 2011-05-04 23:37:16

+0

很高兴帮助:) – 2011-05-04 23:38:55