This question is locked. New answers and comments are not allowed.
An exception occurs when setting the ItemsSource for the RadGridView.
I'm creating GridViewDataColumn's at runtime.
The callstack seems to indicate it has something to do with measuring the GridViewHeaderCell:
> System.Windows.dll!MS.Internal.XcpImports.CheckHResult(uint hr = 2148468943) + 0x4b bytes
System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.GridView.GridViewHeaderCell}, System.Windows.Size availableSize = {100,Infinity}) + 0x9b bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize = {100,Infinity}) + 0x42 bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget = 275351776, float inWidth = 100.0, float inHeight = Infinity, out float outWidth = 0.0, out float outHeight = 0.0) + 0x13d bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {Telerik.Windows.Controls.GridView.GridViewHeaderCell}, System.Windows.Size availableSize = {100,Infinity}) + 0x68 bytes
System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize = {100,Infinity}) + 0xc0 bytes
Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(System.Windows.Size availableSize = {Infinity,Infinity}) + 0x3e2 bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget = 273054480, float inWidth = Infinity, float inHeight = Infinity, out float outWidth = 0.0, out float outHeight = 0.0) + 0x13d bytes
[Appdomain Transition]
[Native to Managed Transition]
am I maybe missing something in the runtime generation of the columns?
I'm creating GridViewDataColumn's at runtime.
The callstack seems to indicate it has something to do with measuring the GridViewHeaderCell:
> System.Windows.dll!MS.Internal.XcpImports.CheckHResult(uint hr = 2148468943) + 0x4b bytes
System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_MeasureOverride(System.Windows.FrameworkElement element = {Telerik.Windows.Controls.GridView.GridViewHeaderCell}, System.Windows.Size availableSize = {100,Infinity}) + 0x9b bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.Windows.Size availableSize = {100,Infinity}) + 0x42 bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget = 275351776, float inWidth = 100.0, float inHeight = Infinity, out float outWidth = 0.0, out float outHeight = 0.0) + 0x13d bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.dll!MS.Internal.XcpImports.UIElement_Measure(System.Windows.UIElement element = {Telerik.Windows.Controls.GridView.GridViewHeaderCell}, System.Windows.Size availableSize = {100,Infinity}) + 0x68 bytes
System.Windows.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize = {100,Infinity}) + 0xc0 bytes
Telerik.Windows.Controls.GridView!Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(System.Windows.Size availableSize = {Infinity,Infinity}) + 0x3e2 bytes
System.Windows.dll!System.Windows.FrameworkElement.MeasureOverride(System.IntPtr nativeTarget = 273054480, float inWidth = Infinity, float inHeight = Infinity, out float outWidth = 0.0, out float outHeight = 0.0) + 0x13d bytes
[Appdomain Transition]
[Native to Managed Transition]
am I maybe missing something in the runtime generation of the columns?
