Welcome to Windows Presentation Foundation (WPF)
Top Tasks :

WPF Team Bloggers

  • Great Silverlight 2 Demo: Healthcare Demonstrator

    Congratulations to Martin Grayson and team for building one of the smartest Silverlight 2 demonstrations I've seen to date . I saw parts of this demo a month ago when I was in the UK, and I'm delighted it's now released. Whether or not you're involved in the healthcare sector, this demo does a great job of showing how Silverlight 2 can transform web-based application development. We're already starting to see many real-world applications using Silverlight 2, even in its beta 1 stage; I'll post a list of the best ones I've collected before the end of the week. With a beta 2 release not far away, momentum is continuing to grow. And keep an eye on this blog first thing Friday morning for a separate exciting announcement (he said elusively)... Read More...
  • Interview With Effective UI

    Effective UI has put together a site called the User Interface Resource Center .  They were kind enough to interview me about WPF, Silverlight, Expression and more.  As they put it: In the 2008 whitepaper “The New Iteration,” Karsten Read More...
  • PDC 2008 Conference Scheduling Using a Genetic Algorithm

    If you read my What Do I Do post, you'll know that I'm the Content Owner for this year's PDC 2008 in Los Angeles. MIX08 is behind us, and I've just recently transitioned away from my Web GO role. This means that I can now focus 100% of my time and attention on our October event. It's going to be fantastic! One of the many responsibilities I have as Content Owner is to create the master schedule for the event. This is the schedule that tells you which session is in which room and at what time. For PDC 2005, we delivered over 200 sessions at the conference, not including repeats (we run repeats of popular sessions that are filled to capacity). Because PDC is where we talk about the future of Microsoft's platform, all of the content relates in some way to our overall strategy (which is typically delivered during big keynotes and general sessions). This means that some sessions need to be scheduled ahead of others to provide foundational and prerequisite knowledge. For example, a 200-level Read More...
  • BeginAnimation() method for Silverlight

    Yeah, it's been awhile since I've blogged anything, so I thought a nice way to get back in the game was to post a BeginAnimation method. Sometimes you just want to start a simple animation in code, and the Silverlight way of doing it through storyboards just seems like more code that you feel like typing, which is where the WPF-inspired BeginAnimation comes in. Turns out you can do a pretty good BeginAnimation API yourself, using C# extension methods -- just drop the following code into your project: public static class Helper { public static void BeginAnimation(this FrameworkElement e, string prop, Timeline t) { var sb = new Storyboard(); e.Resources.Add(sb); sb.Children.Add(t); Storyboard.SetTarget(sb, e); Storyboard.SetTargetProperty(sb, prop); sb.Begin(); } } Which can be used: var tb = (TextBox)sender; var an = new DoubleAnimation(); an.From = 100; an.To = 200; tb.BeginAnimation("Height", an); (Okay, it doesn't handle all the corner cases quite like WPF, in particular calling BeginAnimation Read More...
  • Transitionals

    It was almost a year ago that the transition controls were quietly released for WPF, which I blogged about and included in the WPF Feature Fest ( source and deployed app ): The guts of this project is now available as Transitionals on Codeplex .  Read More...
  • ItemControls don’t properly select items or raise events when bound to a data source

    About a month ago, I saw two unrelated questions where an ItemsControl was not behaving correctly when clicking on an item: Events weren’t being raised, items weren’t getting selected; chaos ensued. In both cases, the developer was adding an items container to the data template. (As a refresher, ListBoxItem, ListViewItem, and TreeViewItem are examples of item containers.) They were doing something like the following: < Grid > < Grid.Resources > < src : ItemsForSale x : Key ="Data"/> </ Grid.Resources > < ListBox ItemsSource ="{ StaticResource Data }"> < ListBox.ItemTemplate > < DataTemplate > < ListBoxItem Padding ="3,8,3,8" MouseDoubleClick ="ListBoxItem_MouseDoubleClick" > < TextBlock Text ="{ Binding Path =Description}"/> </ ListBoxItem > </ DataTemplate > </ ListBox.ItemTemplate > </ ListBox > </ Grid > When the correct way to implement the ListBox is something like the following: < Grid > < Read More...
  • Bruce Sterling on Interaction Design

    Just came across this video on Adaptive Path's blog of Bruce Sterling talking about Interaction Design: Bruce Sterling from Innovationsforum on Vimeo . Missed him at SxSW this year, but this video gave me my fix.  He's really clear on what spimes Read More...
  • Databinding and Add-Ins

    There are many advantages to using the .NET Framework add-in technology to factor application logic and UI, including security isolation, discovery, activation, communication, lifetime management, and versioning. WPF builds on the .NET Framework add-in technology to enable visual add-ins ie add-ins that provide UI for host applications to display. All that you need to do is define the contract to specify what types of things the host wants the add-in's UI to do. The end result for the user is that they see both host and add-in UI intermingled without knowing about the complex machinery underneath to make it work. And, to some degree, developers might approach the development of add-ins the same way. For example, when a WPF host application displays a UI provided by an add-in, developers might intuitively expect features like data binding, commanding etc to just work. Features like this, though, need a little extra work to, err, get working because features like these weren't originally Read More...
  • Silverlight HTTP Networking Stack - Part 3 (Configuring a Cross Domain Policy File)

    Here’s the final post in this 3 part Silverlight HTTP networking series.  In the first post, we discussed basic site of origin HTTP communication.  In the second, we gave an overview of Silverlight’s cross domain communication support.  Today, we’ll drill in to how to configure your web service to enable Silverlight cross domain callers.  If [...] Read More...
  • MDI task switching sample

    If you are creating apps which have mdi's (multiple document interfaces) you should definitely take a look at Karls post on MDI task switching. Its an elegant solution and the post explains it nicely ... and yeah you do have the code ...:) .. Take a look Share this post Read More...
  • Internet Sharing with the Samsung BlackJack and Windows Vista

    I was waiting for a flight out of Orange County Airport earlier this week, and after I fired up my laptop, I couldn't find any publicly available wireless networks. So, I decided to try using my Samsung BlackJack (SGH-i607) for internet connectivity, because I had remembered reading about the feature awhile back. I tried to get things working for about 10 minutes before I had to give up. I'm not a cell phone expert, but I can usually mind meld with devices and figure them out within a short period of time. Not this time. So last night, I dug in. After a few hours following forum threads across hundreds of posts, reading technical support notes, downloading drivers, and playing with configurations, I finally figured out how to properly set up and use the internet sharing feature with Windows Vista via Bluetooth. I thought I'd document the procedure here so that others don't have to go through the same painful process. As mentioned, I have a Samsung BlackJack (SGH-i607) phone that I upgraded Read More...
  • Using Flotzam At A Conference

    Here is a guide for using Flotzam at a conference: Flotzam at a conference is fun. It gives the audience the ability to immediately participate in the event as well as on the blogosphere. Their photos, twitters, etc, show up on the big screen. If you Read More...
  • Silverlight HTTP Networking Stack - Part 2 (Cross Domain Communication Overview)

    Last time, we discussed how Silverlight applications talk to their site of origin server.  In this post, we’ll dive into the high level concepts around Silverlight’s cross domain HTTP communication.  Then next time, we’ll go into details of how to set up a cross domain policy file.  (I know - I lied!  But part 2 [...] Read More...
  • Over One Million Wallpaper Visitors

    I watched the stats for my wallpaper page tick past one million a few days ago. Wow! If you'd have told me when I posted my first macro photo years ago that it'd be the most popular page on my blog (by a long shot), I wouldn't have believed it. I haven't actually added up the individual downloads, but it would easily exceed one million, since I get a lot of direct links from other sites. I average a little over 4GB downloaded each day. Interestingly, more people download the widescreen versions of my wallpaper than the standard ones. I wouldn't have expected that. I receive a request almost every other day from someone who wants to use one or more of my photos for a project. I almost always say "yes," because I really enjoy seeing how the photos are featured. All I ask for is credit for the photo, a link back to my wallpaper page, and a sample or photo of the finished project. Over the years, my photos have been used: as wallpaper for Windows Vista, as a backdrop for a concert, Read More...
  • Updates to Flotzam

    I realized that the code base I used for Flotzam for the MIX conference was not posted and there are a few interesting things that have been updated in the code that people may be interested in: For MIX, we displayed photos that were posted to the MIX Read More...
More Posts Next page »

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us