In them, the DesignPanel is not available
@ -23,7 +23,12 @@ namespace ICSharpCode.WpfDesign.Designer.Extensions
{
base.BeginPlacement(operation);
try {
raster = ((DesignPanel) ExtendedItem.Services.DesignPanel).RasterWidth;
}
catch (Exception ex)
{ }
CreateSurface(operation);