Curves make everything look better

Description

CurvedScrollBar1[1] Charles Petzold blogged about a rather interesting, while geeky, topic a bit ago about non-affine transforms.  I personally had to look up what that exactly meant, but what it allowed Charles to create create curved slider bars with WPF.

Charles has a 2D shown to your right, my left, XAML example along with a 3D transform too.

  • Direct link to 2D example: Here
  • Direct link to 3D example: Here

His blog post goes on to explain the needed settings and issues on doing this.

Tag:

C4FNews

The Discussion

  • User profile image
    Clint

    @Prox:  Check how how Charles executed on this, this should work on all WPF controls.  Charles just executed on curved progress bars.

  • User profile image
    Prox

    Hi, is there any way on how to do this but with a progressbar ?

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.