Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Setting DataGridTextColumn Width property raises error in Blend
2 replies. Latest Post by phil.d on June 11, 2008.
(0)
CraigN
Member
352 points
89 Posts
06-10-2008 8:22 AM |
I originally posted this under .NET Programming forum (http://silverlight.net/forums/t/17666.aspx) but I believe it belongs here.
It seems that the Width property of the DataGridTextColumn class can't be set in the XAML file. The change documentation notes that setting it programmatically requires some code changes to support the new DataGridLength data type. However setting it in XAML results in the error "The TypeConverter for "DataGridLength" does not support converting from a string." under Blend.
e.g. <DataGridTextColumn Width="100"/>
Anyone know why or a workaround?
06-11-2008 7:45 AM |
I've logged this on Connect, please vote for it (https://connect.microsoft.com/Expression/feedback/ViewFeedback.aspx?FeedbackID=350446).
phil.d
18 points
6 Posts
06-11-2008 8:46 AM |
Hi Craig, Yes, hitting this in Expression as well. Vote placed as requested. Cheers