Make WPF ComboBoxes fill a whole column width

前端 未结 1 1182
南笙
南笙 2021-02-13 21:12

I\'m having problems making a ComboBox stretch to fill the whole column width in a GridViewColumn. It should also resize when the column is resized.

1条回答
  •  無奈伤痛
    2021-02-13 21:59

    Try setting the Style of the ListViewItem. I also removed your StackPanel.

    
        
            
        
    
        
            
                
                    
                        
                            
                        
                    
                
            
        
    
        
    
    

    0 讨论(0)
提交回复
热议问题