Articles



  • 1 comments   /   posted by   Matt Perdeck  on  Jul 23, 2008 (10 hours ago)

    Reusable code to do narrow data columns with navigation buttons, such as address lists.

    Download Source code

    Contents

    • Introduction
    • Requirements
    • Installation
    • TallColumns Project
    • TallColumnsManager Project
    • Db Project
    • WrapPanel Project
    • GroupHeader Project

    Introduction

    When it comes to presenting data, there is a lot of emphasis on grids that present data in a single wide column, showing lots of fields horizontally.

    However, some data tend to be presented in narrow columns, such as address lists and book indices...



  • 0 comments   /   posted by   Martin Mihaylov  on  Jul 22, 2008 (1 day ago)

    Introduction

    With this article I continue the series for the MultiscaleImage. Yesterday I wrote about the MultiscaleImage control and the SubImages collection. Today I am going to explain how to randomize the SubImage collection by changing the order of the images in it and how to apply this change on the screen using animations. I will use the tarantula again, assuming that you have already get used to it. Don’t forget to check out the live demo and download the source code if you want to take a look at the whole application.

    Live demo | Source code

  • 0 comments   /   posted by   Martin Mihaylov  on  Jul 21, 2008 (2 days ago)

    Introduction

    The MultiscaleImage is a really great control that allows us to do amazing things in Silverlight 2. That is why I decided to write a series of articles about the nice things that can be done using it. This is the first one and it is focused on the SubImages collection. It explains how to select an image from the collection and then fit it to the size of the control. If you're new to this control read my previous article about it - Using the MultiscaleImage control. Before going ahead you should also be familiar with the DeepZoom Composer and its latest changes. Note that in this article I've replaced the "Double-Click" zoom with “One-Click” zoom.

    Live demo | Source code

  • 0 comments   /   posted by   Michael Washington  on  Jul 21, 2008 (2 days ago)

    Note: This article is submitted by Michael Washington for Silverlight Contest: Write and Win.Thanks a lot, Michael! Hello All, Please drop a comment if you like it.

    The example is based on an earlier drag and drop code sample that was based on an example created by Keith Mahoney. In his example he shows how to drag and drop various types of elements into various types of Panels. In this example we only cover dragging and dropping an element onto a Canvas. We also cover importing and exporting content from one user control into another.

    View Sample | Download Source Code

  • 1 comments   /   posted by   Boyan Mihailov  on  Jul 18, 2008 (5 days ago)

    Note: This article is submitted by Boyan Mihailov for Silverlight Contest: Write and Win.Thanks a lot, Boyan! Hello All, Please drop a comment if you like it.

    Introduction

    I am a great fan of Silverlight. I have never liked 1.0, but when version 2.0 was released I was very amazed. I created a few solitaire games. Now I decided to create a new game and to describe the problems I have encountered to you. First I decided to write an article about creating a Silverlight application for Facebook. But subsequently I decided to divide the article in two parts – creating a Silverlight application, which is a game in this occasion, and integrating it in Facebook.
    I am going to create a game, called Cows & Bulls. You play that game for time. It supports a list of all players and their time.

    Application Source | Application on the Web

  • 0 comments   /   posted by   Antoni Dol  on  Jul 18, 2008 (5 days ago)

    Note: This article is submitted by Antoni Dol for Silverlight Contest: Write and Win.Thanks a lot, Antoni! Hello All, Please drop a comment if you like it.

    This Silverlight 2 development kick start helps you get over initial hurdles and clears the path for faster results.

    Coming from projects in which WPF design experience was established, the step to developing in Silverlight 2 was not an easy one. Even though I anticipated getting disappointed and even annoyed by times, there were several gotchas that baffled me. Some of those can still be found in the current Beta 2 release, but others are resolved to a degree that makes for a workable Silverlight 2 environment.

  • 0 comments   /   posted by   Denislav Savkov  on  Jul 17, 2008 (6 days ago)

    Introduction

    We’ve introduced you to the basics of Custom Controls in our previous article. Now we will give another example this time involving the Visual States Manager. We will create a templatable ContentControl that uses animations on its Content and the States & Parts model proposed by Microsoft.

    Dowload source code

    Parts & States Model

    The idea behind the States & Parts is to separate better the logic from the visual appearance and thus to allow better flexibility for both.

  • 0 comments   /   posted by   Emil Stoychev  on  Jul 16, 2008 (1 week ago)

    What is a Pivot table/grid? According to Wikipedia it is a data summarization tool found in spreadsheet applications. Still when I was a child I learned that people understand the best when they see an example.

    Consider you have a table that contains the nutrition of given food, say a pizza:

    Group Name Quantity
    Carbohydrates Total carbohydrates 27.3
    Carbohydrates Total disaccharides 5.7
    Carbohydrates Total polysaccharides 21.6
    Minerals Calcium 147
    Minerals Phosphorus 150
    Minerals Potassium 201
    Minerals Copper 0.13
    Minerals Magnesium 19
    Minerals Sodium 582
    Minerals Selenium 4
    Minerals Total iron 0.7
    Minerals Zinc 1.07
    Vitamins Beta-carotene 173.8
    Vitamins Nicotinic 1.5
    Vitamins Total vitamin B6 0.127
    Vitamins Total vitamin D 0.3
    Vitamins Total vitamin E 2.1
    Vitamins Vitamin B1 0.1
    Vitamins Vitamin B12 0.59
    Vitamins Vitamin B2 0.16
    Vitamins Vitamin C 10

    In the data above you see that every nutrition is contained in a specific Group - 3 groups and 21 nutrition in total.

  • 0 comments   /   posted by   Martin Mihaylov  on  Jul 14, 2008 (1 week ago)

    When working with data, it often comes in an XML format. So we have to serialize and deserialize it in order to use it. There are several ways of doing that – for example: DOM, XQuery, XSLT. DOM is the oldest from the three, but still can do the work. XQuery and XSLT are not very easy to use and require some time to master. In .NET 3.5 a big programming model improvement was made with the LINQ - Language-Integrated Query. It can be used for objects, databases and XML. In the following article I will try to explain the basics of using LINQ to XML and if you are new to it, I hope it will help you to improve your programming experience.

  • 0 comments   /   posted by   Martin Mihaylov  on  Jul 11, 2008 (1 week ago)

    Recently I had to work with JSON files and more especially with serialization and deserialization using Silverlight and .NET. The information I found was very limited, so I had to figure it out by myself. When I managed, I decided to write it down for people who would have had the same problems as me.