WPF: Grid with column/row margin/padding?

前端 未结 15 1117
梦毁少年i
梦毁少年i 2020-12-07 23:57

Is it easily possible to specify a margin and/or padding for rows or columns in a WPF Grid?

I could of course add extra columns to space things out,

15条回答
  •  渐次进展
    2020-12-08 00:31

    Edited:

    To give margin to any control you could wrap the control with border like this

    
        
                
    
    

提交回复
热议问题