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

  • SEARCH
  • Home
  • 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 4051038
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:08:40+00:00 2026-05-20T14:08:40+00:00

I have a data grid, where I create columns on the fly in the

  • 0

I have a data grid, where I create columns on the fly in the code behind. As I create the column, I create associated cell template and cell edit template to convert the value to boolean to represent the data in check box. All works well. What I would like to do is fire check event with commands. I was able to achieve this in XAML with the following link with doing anything on code behind

http://forums.silverlight.net/forums/p/199477/466179.aspx

I moved the working XAML code to code behind the commands are not firing.

When I have the code in XAML and put a break point in the static resource class, I can see break points are hit. But when I put the same code in code behind the break points are not hit. I thought when we do apply template, the static resources are resolved. It looks like it is not.

For now, I able to catch what is changing by listening to back end data. I would like achieve this with commanding.

Any comments or suggestions?
Thanks

  • 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-20T14:08:41+00:00Added an answer on May 20, 2026 at 2:08 pm

    Why don’t you just bind a property to the check box’s IsChecked property. And in the setter of the new propery you can call or execute what ever method you are currently executing with the commands.
    Will result in less messy XAML

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

Sidebar

Related Questions

I have a Data Grid View inside a control that is displayed in a
I have a data grid that has a checkbox item renderer in a cloumn
I have a neat little javascript data grid and I want people to be
I have a variety of time-series data stored on a more-or-less georeferenced grid, e.g.
I want to display and edit some objects in a WPF data grid and
I have a DataGrid where each column has a SortExpression. I would like the
I have found that datagrid columns can be dynamically created and bound in Silverlight.
I have a list view that is displaying data using the gridview. This list
In my application I have a DataGridView control that displays data for the selected
I am working with the WPF Toolkit data grid and it is scrolling extremely

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.