私は次のコードを持っています。
これにより、データがH:M:Sの形式で表示されます。これらの値を編集したいのですが...viewmodelで通知を受け取りたいです。
どうすればそれを達成できますか?
どんな助けでもいただければ幸いです。ありがとう
<TextBox DataContext="{Binding UpdateSourceTrigger=PropertyChanged}" >
<TextBox.Text>
<MultiBinding StringFormat=" {0}:{1}:{2}">
<Binding Path="ValueH" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" />
<Binding Path="ValueM" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" />
<Binding Path="ValueS" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" />
</MultiBinding>
</TextBox.Text>
</TextBox>