How do i put a border on my grid in WPF?

前端 未结 6 480
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 17:54

How do i put a border on my grid in C#/WPF?

This is what i would like it to be, but puts a border around the whole thing instead of the grid control i put in my appl

6条回答
  •  日久生厌
    2020-12-02 18:41

    If nesting your grid in a border control

    
        
        
    
    

    does not do what you want, then you are going to have to make your own control template for the grid (or border) that DOES do what you want.

提交回复
热议问题