Why Slider control is changing value twice at program start up? RRS feed

  • Question

  • I was experimenting with Slider control in Expression Blend (WPF application) and found out that it changes the "Value" property twice when I run the application. The "Value" property changes to the "Minimum" setting and then to the "Value" setting, calling the ValueChanged event handler twice, for my surprise, before the main window shows up. It seems this only happens when "Minimum" and "Maximum" setings are both positive, or both negative. Does anybody knows if this is another bug?
    Sunday, April 3, 2011 11:27 PM