WPF: change binding properties for multiple controls
Posted
by Catalin DICU
on Stack Overflow
See other posts from Stack Overflow
or by Catalin DICU
Published on 2010-03-24T16:46:19Z
Indexed on
2010/03/24
16:53 UTC
Read the original article
Hit count: 431
I'd like that all the Text
bindings for the TextBox
es in my UserControl
to have UpdateSourceTrigger=PropertyChanged
, and ValidatesOnDataErrors=True
How to do it ?
I can think of a solution: use another class for bindings (a class inheriting Binding
) but maybe there is another solution, maybe using a style or template ?
© Stack Overflow or respective owner