Styling a GroupBox

后端 未结 5 1548
忘掉有多难
忘掉有多难 2020-12-04 22:34

I\'m trying to create a GroupBox design like this.

\"enter

I have looked at th

5条回答
  •  被撕碎了的回忆
    2020-12-04 23:22

    You probably will not be able to make it look exactly like your example without writing a completely different template but I gave it a simple shot by binding the width of the grid in your HeaderTemplate to the width of the groupbox and by specifying appropriate margin and padding:

    
        
            
                
                    
                
                
        
    
    

    The result looks like this:

    enter image description here

提交回复
热议问题