protected override void UpdateCapturedImage()
        {
            VisualElement ve;

            if ((ve = element as VisualElement) != null)
            {
                // If the VisualElement is a view and is not a layout, snapshot its children,
                // as we've reached the leaf of the tree. Otherwise, skip children.
                var skipChildren = !(ve is View && !(ve is Layout));
                var nativeView   = Platform.GetRenderer(ve).View;
                if (nativeView != null)
                {
                    CapturedImage = XIVR.RenderAsPng(nativeView, skipChildren);
                }
            }
        }
 protected override void UpdateCapturedImage()
 {
     CapturedImage = ViewRenderer.RenderAsPng(view, true);
 }