Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
Model property setter being called without reason
posted

Hello,

The XamTextEditor and the standard WPF TextBox components behave differend with the text databinding, this causes our model to get dirty and other issues listening to a propertychange event. My first question is why that the difference exists and what the reason for it is. My second question is if it's possible to override the default behaviour.

Thru i still believe that the property should not be set when the text is not being altered.

Default textbox, when the textbox is clicked nothing happens, only when modified the property is set.

<TextBox Text="{Binding Path=Naam}"></TextBox>

XalTextEditor, when the editor is clicked or gets focus as first control, the property is being set with the loaded value, which ofcourse is the same the first time.

<
igEditors:XamTextEditor Text="{Binding Path=Naam}">

 


 


 

 

Parents Reply Children
No Data