WPF XAML ListView with ScrollBars

后端 未结 2 453
既然无缘
既然无缘 2020-12-22 05:28

I have a ListView which is showing both scroll bars. To achieve that, I places my ListView within a Border located in a Grid like below:



        
2条回答
  •  甜味超标
    2020-12-22 06:21

    Hi I think i have understand you. So, i am trying:

    So, you want to have your ListView at least a height of 370 and then only resizes if the window resizes (increment and decrement of window size).

    Setting MinHeight of 2nd RowDefinition could help

    
            
                
                  
            
    .....
    
    

    Thank you.

提交回复
热议问题