Inside Visual Studio's Team Explorer there is a Query making tool that is, basically, a datagrid (as shonw below)
I'm trying to recreate this same type of functionality.
Is this something I could accomplish by manipulating UI Elements?
There's nothing built-in to the grid to do this. You could create an unbound column in the grid and use a DrawFilter and a CreationFilter to acheive this, but this would mean writing the logic to draw the lines yourself.
Just to make sure I was clear; what I'm trying to do is provide an easy way to indicate 'grouping'. I'd really like to have the column that consists only of lines; but maybe there is another, better solution (like using different bands, or maybe a tree instead of a grid?).
These groupings will be editible during run-time; so the user needs to be able to add groupings and remove them and have the gui respond appropriately..