c# - Rate control star for rating purpose in windows phone 8 -


i working on rate control project, user can rate pictures. need rate control star rating purpose. when searched found [link]http://wp7wonders.wordpress.com/2010/10/15/use-the-rating-control-in-windows-phone-7/ , [link]http://j4ni.com/blog/?p=79 .first link not helpful able create star not able fetch rating numbers 3/5 or 2/5 e.t.c. second link able create star not able see stars on emulator screen when clicked area kept stars able view stars clicked. there other way it. understand windows phone new windows phone framework.

in first link each ratingitem control has property called displayvalue either 0 or 1. when set 1 means selected. if check each of ratingitem's can number. actual rating control controlstoolkit:rating has value property number you're looking for.

for example.

adding <controlstoolkit:rating height="40" grid.row="1" value="0.6" itemcount="0" x:name="ctrating"> in code behind can check ctrating.value selecting 5 gives 1.0 value


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -