TabControl's TabItems sharing same content… Do Not Want

后端 未结 3 582
走了就别回头了
走了就别回头了 2021-01-04 12:07

The following example xaml causes each tab item to share the same TextBox. It makes sense, on some level I guess... but it\'s unexpected behavior, and almost feels like a bu

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 12:52

    I suspect there's a nicer way to achieve whatever it is you're trying to achieve, but I think this will work (would test but I'm on linux atm):

    
        
            
        
        
        
    
    

提交回复
热议问题