Grid Splitter problem in WPF

后端 未结 4 1227
死守一世寂寞
死守一世寂寞 2021-02-07 13:27

I want a layout like VS 2008. In which I want two columns and second columns is again split into two.

I done that in the xaml mentioned below, but the GridSplitter

4条回答
  •  爱一瞬间的悲伤
    2021-02-07 13:52

    Your gridsplitter is behind the other controls that's why you can't see it. You can either move it to the bottom in your XAML file (so it is added last) or use the Panel.ZIndex attached property. Additionally you have to set the width for the splitter correctly correctly:

    
        
            
            
            
        
        
            Left Hand Side
        
        
            
                
                
            
            
                Hello
                World
            
            
            
                Hello
                World
            
        
        
    
    

提交回复
热议问题