want to make scrollable tabs for a tabcontrol

后端 未结 6 815
故里飘歌
故里飘歌 2020-12-05 14:22

Say I have a tab control, and I have over 50 tabs, where there is no enough space to hold so many tabs, how make these tabs scrollable?

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 14:52

    Rick's answer actually breaks the vertical stretching of content inside the tabcontrol. It can be improved to retain vertical stretching by using a two row grid instead of a StackPanel.

    
                
                    
                        
                            
                            
                        
                        
                            
                        
                        
                    
                
            
    

提交回复
热议问题