(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

New Silverlight 3 Behavior for Toggling DataGrid Row Detail Visibility

(0 votes)
2 comments   /   posted by Silverlight Show on Feb 02, 2010
Tags:   behaviours , expression-blend , datagrid , silverlight-3
Michael S. Scherotter has published a behavior for Toggling DataGrid Row Detail Visibility.

I was chatting with a customer last week about how they were using Silverlight for their B2B portal.  They were having some difficulty with showing and hiding the DataGrid component’s Row Detail template programmatically.  I found a WPF-oriented solution to the problem on StackOverflow and adapted it to an Expression Blend Behavior to make the solution more modular and reusable.

I posted the behavior with a sample to the Expression Gallery.  If you try it out, please give it an appropriate rating.


Comments

  • -_-

    RE: New Silverlight 3 Behavior for Toggling DataGrid Row Detail Visibility


    posted by Phil M on Feb 08, 2010 22:25
    It works nicely Michael, however the data grid has an underlying bug which would prevent me from being able to use your behavior. In the Expression Gallery example, if you open up a couple of row's details sections and then try to scroll the grid you will see the bug in action. This particular bug doesn't seem to have a work around and I think it is baked into the grid's measure routine. It has stopped me using the grid a couple of times because it's such a jarring glitch.
  • -_-

    RE: New Silverlight 3 Behavior for Toggling DataGrid Row Detail Visibility


    posted by Phil M on Feb 09, 2010 02:33
    Just realised I posted to the wrong blog. Sorry.

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter