How to align separate Grids created via templates along their columns / rows?

后端 未结 2 1295
清酒与你
清酒与你 2021-01-12 03:00

I thinks that in this case A picture is worth a thousand words:

\"alt

XAML:

 <         


        
2条回答
  •  无人及你
    2021-01-12 03:55

    You need to use a SharedSizeGroup for each column.

    Check out this tutorial ...

    http://blogs.interknowlogy.com/johnbowen/archive/2007/08/27/21132.aspx

    Also, ensure that the shared size scope property is true for your grid:

    
        
            
                
                    
                        
                            
                            
                        
                        
                        
                    
                
            
        
    
    

提交回复
热议问题