Quantcast
Channel: UserControl and Two-way Binding
Viewing all articles
Browse latest Browse all 9

UserControl and Two-way Binding

$
0
0
Man, you're messing with it all.

That is not the purpose of DataContext is object that should be regarded as the source of the information to be used/displayed in the control.

Why don't you just have DependencyProperty of type string in your FolderPicker, bind that property to whatever you want and bind the value of the TextBox.Text inside to FolderPicker.StringProperty?

Bigsby, Lisboa, Portugal

Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>