Hide grid row in WPF

前端 未结 8 1486
旧巷少年郎
旧巷少年郎 2020-12-02 15:21

I have a simple WPF form with a Grid declared on the form. This Grid has a bunch of rows:


    

        
8条回答
  •  无人及你
    2020-12-02 15:50

    Set the Row's content visibility to Visibility.Collapsed instead of Hidden. This will make the content stop taking up space, and the row will shrink appropriately.

提交回复
热议问题