Set style for all textblocks in a stack panel

后端 未结 4 1524
执念已碎
执念已碎 2020-12-09 01:19

Let\'s say I have two different, distinct stack panels (we\'ll call them SPA and SPB), each with 10 textblocks as child elements. All the textblocks in SPA should use one st

4条回答
  •  失恋的感觉
    2020-12-09 01:57

    I found one good solution for it here. Below is the sample code -

    
    
        
    
    
        Header 1
        Header 2
        Header 3
    
    

    I hope this would help.

提交回复
热议问题