Is it possible to bind two source properties to one control property?

前端 未结 2 1613
轮回少年
轮回少年 2020-12-18 16:42

Using WPF, is it possible to bind two source properties, via one-way binding, to one control property (ie textbox.text)?? I\'d like to have the user input a value in a text

2条回答
  •  [愿得一人]
    2020-12-18 17:26

    You need to use a MultiBinding with a IMultiValueConverter. See the example in the documentation

提交回复
热议问题