WP7 Silverlight は初めてで、簡単な問題があります。
DataTemplate を持つ ListBox があり、Text="{Binding JobLocation}" でデータをバインドして表示できます。これは正常に機能します。
また、 Text="{Binding JobLocation}" を使用して JobLocation にバインドできる UserControl もあります。
私の質問はこれです。表示する前に JobLocation でいくつかの作業を行う必要があるため、次のように変数に保存したいと思います:-
Dim jobLocation as string ="{Binding JobLocation}"
jobLocation = // do the work on it
txtJobLocation.Text = jobLocation
これは UserControl コードで行われます。
助けてください、本当にこれにこだわっています!