option to include headers when copying values from data grids
It'd be great if, when selecting rows in data grids and copying them to the clipboard, there could be an option to also include the headers.
e.g.
"Copy selection" currently puts this on the clipboard:
would result in:
e.g.
new [] { new System.Drawing.Point(5, 6), new System.Drawing.Point(20, 19), new System.Drawing.Point() }
"Copy selection" currently puts this on the clipboard:
False 20 19and selecting the whole thing (i.e. from the top left header square) gives us:
True 0 0
False 5 6it'd be great to have an item in that context menu to "Copy selection with headers", to get:
False 20 19
True 0 0
IsEmpty X Ywhich would obviously also take into account which columns are actually included in the selection, so that:
False 20 19
True 0 0
would result in:
X Y
20 19
0 0
Comments
http://www.linqpad.net/download.aspx#beta