WPF user control bind data to user control property

前端 未结 1 415
我在风中等你
我在风中等你 2021-02-04 01:37

I have user control:

xaml



        
1条回答
  •  耶瑟儿~
    2021-02-04 01:49

    You can try Element binding inside the user control. Just give a name to UserControl and bind property:

    
    
        
        

    And then you can Bind or put static text from user control usage place

    
    

    or

      
    

    0 讨论(0)
提交回复
热议问题