Interaction Triggers in Style in ResourceDictionary WPF

后端 未结 2 1978
面向向阳花
面向向阳花 2020-12-03 00:02

I have a ComboBox which I need to use in several places in my application, so I set most of the properties of that ComboBox in ResourceDictio

2条回答
  •  萌比男神i
    2020-12-03 00:52

    I usually work with Silverlight so I'm not sure if the following approach is sensible in WPF: You can pull your xaml into a UserControl, say BranchSelection.xaml for example:

    
        
            
                
                    
                
            
        
    
    

    And use it like this:

    
        
        
    
    

提交回复
热议问题