Today I created a solution to a problem involving where and how to edit metadata about a value in the XamDataGrid. I blogged about it on my work blog here. The really cool part about the solution, in my opinion, is that I host an editor for the metadata in the adorner layer. The metadata is an explanation for why the user modified the value of a cell in the grid. To me, it just makes sense to put such extraneous information “outside of” the grid, so that it does not clutter up the UI and require the grid cells to be larger than necessary.
Here’s a screenshot of the metadata editor in action:
I think this sample really shows how powerful and flexible WPF is.