protected void SetDoubleCanvas(bool useWithWidth, bool useWithHeight) { DoubleBackCanvasWidth = useWithWidth; DoubleBackCanvasHeight = useWithHeight; } protected void SetPostCalculateLayerContentSize(int width, int height)