Using Vectors in an App Bar (Windows 8 + Windows Phone 8.1)

I’m going to do this backwards. I’ll start assuming you already have your vector icon in XAML. Then, how to import your vector icon from Illustrator to XAML. The basics: Your button should look like this: <AppBarButton x:Name=”MyButton”     Label=”do stuff”     Style=”{StaticResource HeadphoneVectorIcons}”/> And the style should look like this: <Style x:Key=”HeadphoneVectorIcons”         TargetType=”ButtonBase”>…

Read More

How To Create An Animated ScrollViewer (or ListBox) in WPF

UPDATED 05/22/09 In the comments, someone mentioned that the project wasn’t working properly for keyed scrolling. I’ve updated the project with: Key scrolling (left, right, up, down, page up, page down) CanKeyboardScroll property on the AnimatedScrollViewer so that keyboard scrolling can be turned off ScrollToSelectedItem property on the AnimatedListBox so that the user can have…

Read More

Using Silverlight to Display JSON Data (Collected From The New York Times API)

In this post, you’ll either need to walk through this tutorial on how to call and prepare JSON data gathered from the New York Times API or, if you’re not particularly interested in doing that, you can just download the final project here. This tutorial pretty much assumes that you’re starting from the end of…

Read More

Adventures with JSON and Silverlight (and the New York Times)

Summary: In this post, I walk through the basics of using Silverlight to query the New York Times Article API and display the results of the query. You can see the final result below. You can also download source code for this project here. JSON/Silverlight/New York Times project files Huge thanks to Josh Holmes, whose…

Read More