Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3780862
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:52:08+00:00 2026-05-19T10:52:08+00:00

I have a PropertyMapping Class that contains 2 properties – PropertyName and PropertyValue that

  • 0

I have a PropertyMapping Class that contains 2 properties – PropertyName and PropertyValue that I use to display objects in a SilverLight DataGrid.

Currently I just do a ToString() on each property value to force the grid to show something for each property. I have however know been asked to make the grid editable so that the values in the “PropertyValue” column are forced back onto the object.

In order to do this, I need to be able to display things like enumerations in the grid. I realise that you can have a templated column in the data grid, but this seems to set the template for every row in the column, can you set the individual cells template?

The reason being that I could be displaying an object that has a date property, and enumeration property and a string property – so the cell in the PropertyValue column for the Date row, would need to be a DateTimePicker, the cell for the enumeration cell would need to be a Combobox etc.

I have taken a look into iterating through all of the rows and setting the individual cells template, but can’t find a way of doing this?

Is this possible? p.s I have the C1 DataGrid that I can use as well, if they have a way of doing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T10:52:08+00:00Added an answer on May 19, 2026 at 10:52 am

    have a look at the DataTemplate Selector for Silverlight. I guess, this is exactly what you need. A template for different data types.
    Here are some implementations:

    http://csharperimage.jeremylikness.com/2010/11/silverlight-data-template-selector.html

    http://geekswithblogs.net/tkokke/archive/2009/09/28/datatemplateselector-in-silverlight.aspx

    Hope this helps you.

    BR, TJ

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have written all the code in a silverlight class library (dll) and linked this
Have an app that can use tts to read text messages. It can also
have written this little class, which generates a UUID every time an object of
Have a chat room, issue is, is that when you submit something, the message
have numerous tests working, but my actual test of some objects is failing and
Have a test program public class Path { public static void main(String[] args) {
Have have created a child of UITableViewCell , MenuItem which contains functionality for my
I have a class Tenant, which links to a User via a TenantUser table
Have a problem that seems easy on paper but i'm having a big problem
have a class structure like so Permit -> Financial ->ICollection instrumentList Instrument -> Agency

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.