Hi,
I'm using the ToCsv method on the grid view. Some of my headers in that grid are TextBlock's (so that I can add a tooltip), i.e:
However, when in the CSV text, the column shows up as "System.Windows.Controls.TextBlock" as I guess it's just doing a ToString on whatever the column header is. Is there a way to change what is used by ToCsv to name headers?
I'm using the ToCsv method on the grid view. Some of my headers in that grid are TextBlock's (so that I can add a tooltip), i.e:
<
Controls:GridViewDataColumn.Header
>
<
TextBlock
ToolTip
=
"Product Quantity"
>Prod Qty</
TextBlock
>
</
Controls:GridViewDataColumn.Header
>
However, when in the CSV text, the column shows up as "System.Windows.Controls.TextBlock" as I guess it's just doing a ToString on whatever the column header is. Is there a way to change what is used by ToCsv to name headers?