• .NET

    How to: Telerik’s TabControl for Silverlight

    September 28, 2010 Share
    Let’s go through implementing several scenarios for the TabControl with quick, short explanations:    1. How to databind the TabControl?    2. How to enable drag-rearrange of items?    3. How to animate rearranging items?    4. How to add a Close Button to the TabItems using a Command?    5. How to animate content changes?    6. How to add a “New Tab” button when databound?    7. How to animate item add / removes? Here is the end result:    And the demo project with everything included:  tabcontrol-howto-demos.zip And of course the details, in short - How to databind the TabControl? The TabControl is a standard ItemsControl and can be databound to...
  • .NET

    Wrapping up the Telerik Eastern Canada User Group Tour

    September 21, 2010 Share
    Hey everyone! Now that I'm all back and settled in the Boston metro area, it's time to make some resources available to people who attended and for anyone interested in a little bit of Silverlight goodness. First though I've got a tiny side-note as far as the presentations.  Originally in this post I mentioned that we offered three different Silverlight talks to the user groups, but as it turns out nobody picked this one: Building a Unified Experience – Developing with Silverlight 4 and Windows Phone 7 In this session, we will get look into development on both the full Silverlight platform and on Windows Phone...
  • .NET

    5+ Ways to Reduce your .Xap Size

    Being Silverlight developer means that we are also kind of web developers. From this point of view, we also have to think about the web traffic that our applications generate. We need to reduce it as much as possible. So basically we need to reduce the size of the application's output - the .xap file. In this post I'll try to summarize the five ways to reduce the size of a xap that I've shared today with Sofia's Silverlight User Group. Understanding the Xap In order to reduce the size of a xap file, we should first be aware of its structure. Basically it can contain only 4 things: AppManifest.xaml -...
  • .NET

    Building a Windows Phone 7 control from the ground up - Part Two - the “Date ListBox”

    September 02, 2010 Share
    The next interesting part of building a Windows Phone 7 DatePicker control is the Date ListBox. That is a ListBox which should meet the following requirements: Can display in a human readable manner one of the three Date components: Day, Month and Year Should be “Infinite” – as discussed in my previous post. Should use data virtualization (to be most efficient). As you can see our “Infinite ListBox” project now comes in hand. The last two of the upper requirements are already implemented and all we need to do is to implement a special VirtualizedDataItem<DateTime> that provides the needed information to bind to. For a...
  • .NET

    Building a Windows Phone 7 control from the ground up - Part one - the “Infinite ListBox”

    One of the coolest things in every new developer platform is the challenge to master the entire framework in a way that enables you to create high quality, greatly optimized controls that behave in exactly the same way a user would expect to. Yesterday Microsoft announced that more than 300 000 developers have already downloaded the WP7 Developer Tools Beta. Based entirely on Silverlight, phone development has never been easier and more fun than in the Windows Phone 7 environment. With these series of blogs I want to reveal some tricky moments in developing a simple DatePicker control for WP7....