I
I
iRumba2015-07-17 11:10:12
WPF
iRumba, 2015-07-17 11:10:12

Why does UserControl lose its Binding?

Hello. There is a usercontrol (NumberBox)
When I change its value (interaction through the interface, not code), then the data binding (OneWay) is lost.
At TextBox'a under the same conditions it is not lost.
When there are many, the control itself consists of two controls, so tell me which parts you need, I will post

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tex0, 2015-07-17
@tex0

Try changing the binding mode of this (NumberBox) control to the data source. (Mode=TwoWay)
here is a brief description of binding modes. Also, take a look at this topic from the authors of WPF technology)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question