ListViewItem Horizontal Strechting UWP 10

前端 未结 1 1649
伪装坚强ぢ
伪装坚强ぢ 2021-01-27 01:23

I want to horizontally stretch a ListView in UWP 10. I also set the HorizontalContentAlignment to Stretch. It kinda works, but its not exa

1条回答
  •  情书的邮戳
    2021-01-27 02:00

    You need to modify ItemContainerStyle's padding and margin:

    
       
    
    

    You also have defined Grid's padding to 8, what will result in aqua background around your item.

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