Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Property change event not triggered for enum type while binding in MVVM

$
0
0

Hi,


I have created simple MVVM sample with two buttons named "Width" (enumeration binding) and "150" (integer binding) in WPF. The "150" button is properly triggered the ZoomPropertyChanged in ZoomMode.cs class. But the ZoomModePropertyChanged in ZoomMode.cs class is not triggered when the "Width" button is clicked.


Steps to reproduce the issue:

1.Download the sample

http://www.syncfusion.com/downloads/support/directtrac/general/ze/SampleMVVM1291839680

2.Place the break point in ZoomModePropertyChanged and ZoomPropertyChanged event handler in ZoomMode.cs class file.

3.Run the sample and click the button "150"(ZoomPropertyChanged is triggered)

4.Now click the button "Width"(ZoomModePropertyChanged is not triggered)

Why ZoomModePropertyChanged is not triggered?

Kindly let me know if im doing any thing wrong.


Regards,

Aravinth


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>