protected override void UpdateLayout()
 {
     base.UpdateLayout();
     if (_backgroundCanvas.IsValueCreated)
     {
         BackgroundCanvas.Geometry = Control.Geometry;
     }
     if (_clipper.IsValueCreated)
     {
         ClipperCanvas.Geometry = Control.Geometry;
         ClipperCanvas.Invalidate();
     }
 }
 protected virtual void OnLayout(object sender, Native.LayoutEventArgs e)
 {
     RealControl.Geometry = Control.Geometry;
     if (_backgroundCanvas.IsValueCreated)
     {
         BackgroundCanvas.Geometry = Control.Geometry;
     }
     if (_clipper.IsValueCreated)
     {
         ClipperCanvas.Geometry = Control.Geometry;
         ClipperCanvas.Invalidate();
     }
 }