The xamWebDialogWindow causes the designer to throw an exception when this control is placed on a grid in blend 4 RC.
In my last post I said ...the corner was used to "resize the grid" I meant ..."resize the dialog window"
Yes, here is the info:
XamlParseException: [Line: 0 Position: 0]
StackTrace
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)at System.Windows.FramworkElements.MeasureOverride(Size availableSize)at System.Windows.FramworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)InnerException: None
Occurs in Expression Blend 4 RC with xamDialogWindow in any container (grid, border etc). Silverlight 4 project.
Also, when the dialog is in maximized with the "RestrictInContainer" flag set to true, the title bar disappears. The windows behaviors are also erratic when restricted to a container. With the flag set to false the dialog window seems to work fine.
The image above shows the dialog as placed on the grid at startup without manipulating it.
The above picture shows what happens when the corner is used to resize the grid. The top dissappears. It also gets anchored to the center of this grid row for some reason.
The above picture shows the result of clicking the maximize button on the window. the title bar dissapears and parts of the border.
Here's the blend 4 exception:
Could you tell us what is the error message - is it a blend design or assembly exception? If you attach some sample that duplicates the problem it would be helpfull in researching this issue.
Thanks,
Yes, that is the version I have installed and am getting the error with.
Please, make sure you have the latest service pack (2022) installed on your computer. This release is compatible with SL4.
Let me know if you can resolve the issue with it.