(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Weather control: update

(0 votes)
Denislav Savkov
>
Denislav Savkov
Joined Feb 11, 2008
Articles:   14
Comments:   6
More Articles
4 comments   /   posted on Aug 15, 2008
Categories:   General , Controls

This article is compatible with the latest version of Silverlight.

Download source

In a response to one comment in our first article about the weather control we decided to update it. Now it is easier to slide item by item. It is not the best implementation but it works with a little tuning. Just remember if you change the item's sizes you must adjust the width of the control. The width should meet the requirements of this equation.

(control.Width - LeftButton.Width - RightButton.Width ) %  (control.Height / ItemHeight * ItemWidth) = 0

Not convenient but we will work on that until the next version.

Weather control article series: part 1, part 2, part 3.


Subscribe

Comments

  • -_-

    RE: Weather control: update


    posted by dan on Oct 14, 2008 13:39

    Code does not run with latest silverlight 2 release

  • Enrai

    RE: Weather control: update


    posted by Enrai on Oct 15, 2008 04:27

    We are currnetly converting all of our samples and demos, so they will be running under Silverlight 2 Final very soon! :)

  • lnikolov

    RE: Weather control: update


    posted by lnikolov on Jan 14, 2011 11:38
    The article has been updated to the latest version of Silverlight and Visual Studio.
  • slysoft

    Re: Weather control: update


    posted by slysoft on Apr 16, 2012 08:07
    What would be the best way to implement this into a wp7 application? I have the gps and bing maps. I am attempting to have it look up the weather in your current position...

Add Comment

Login to comment:
  *      *