Set style for all textblocks in a stack panel

后端 未结 4 1540
执念已碎
执念已碎 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 02:18

    You can accomplish this by overriding default text block style in the Resources of each stack panel:

    
        
            
        
    
        
        
        
        
    
    
    
        
                            
        
    
        
        
        
        
    
    

提交回复
热议问题