Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column

This sample will demonstrate how to create the custom style for Datagrid and how to format the column in Silverlight Datagrid.

Download : SL2DataGridWithStyle.zip (520 KB)

silverlight Datagrid with Custom Style

(As of now, please download the code and check-out the code in my sample. I will update the article tonight.Thanks.)

5 Comments so far »

  1. Tom Cassidy said

    am May 9 2008 @ 5:48 am

    If i download the zip and load it into VS2008, I get errors because the property “Name” isn’t qualified in the x xml namespace. Is there something I need to configure on my end or do I just need to qualify each occurrence of “Name”? Thanks — Tom

  2. Michael Sync said

    am May 9 2008 @ 6:31 am

    Hello Tom,

    No need to configure on your end. Just download and extract it in your machine. then, open it in VS 2008.. That’s all…

    Did you modify something? Are you getting this error at runtime or design time? Can you give me full error message?

  3. Michael Sync said

    am May 9 2008 @ 6:54 am

    Hi Tom,

    You can leave those errors… If you take a look at the sourcecode (MixControl) from Microsoft, you will see the same error. Just take a look at generic.xaml from Controls.Data project..

    I think it’s by-design issue so far… You will have to leave them … Please try to compile and run the app… You will able to do that without any problemm..

  4. Wöchentliche Rundablage: ASP.NET MVC, Silverlight 2, TDD, WPF, jQuery… | Code-Inside Blog said

    am May 14 2008 @ 4:50 am

    [...] Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column [...]

  5. Weekly Links: ASP.NET MVC, Silverlight 2, TDD, WPF, jQuery… | Code-Inside Blog International said

    am May 14 2008 @ 4:51 am

    [...] Silverlight 2 (beta1): Styling the Datagrid & Formating Datagrid Date Column [...]

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: