What should you do?

You are developing a Silverlight 4 application. The application has a page that contains a Slider control named sldAmount. You need to enable the wheel of the mouse to control sldAmount. What should you do?

You are developing a Silverlight 4 application. The application has a page that contains a Slider control named sldAmount. You need to enable the wheel of the mouse to control sldAmount. What should you do?

A.
Handle the ManipulationDelta event on sldAmount.
Increase sldAmount.SmallChange if the e.DeltaManipulation.Translation.X argument is positive.
Decrease sldAmount.SmallChange if the e.DeltaManipulation.Translation.X argument is negative.

B.
Handle the ManipulationDelta event on sldAmount.
Increase sldAmount.Value if the e.DeltaManipulation.Translation.X argument is positive.
Decrease sldAmount.Value if the e.DeltaManipulation.Translation.X argument is negative.

C.
Handle the MouseWheel event on sldAmount.
Increase sldAmount.SmallChange if the e.Delta argument is positive.
Decrease sldAmount.SmallChange if the e.Delta argument is negative.

D.
Handle the MouseWheel event on sldAmount.
Increase sldAmount.Value if the e.Delta argument is positive.
Decrease sldAmount.Value if the e.Delta argument is negative.



Leave a Reply 0

Your email address will not be published. Required fields are marked *