public void ToggleViewShadow (Xamarin.Forms.View view, bool isOn)
		{
			var renderer = view.GetOrCreateRenderer ();
			var nativeView = renderer.ViewGroup;
			var shadowWrapper = nativeView.Parent as ShadowWrapper;

			if (shadowWrapper != null) {
				//move back to original parent
				shadowWrapper.ResetParent ();
				view.SizeChanged -= OnSizeChanged;
			}
			if (isOn) {
				shadowWrapper = new ShadowWrapper (nativeView.Context, nativeView);
				view.SizeChanged += OnSizeChanged;
			}
		}
        public void ToggleViewShadow(Xamarin.Forms.View view, bool isOn)
        {
            var renderer      = view.GetOrCreateRenderer();
            var nativeView    = renderer.ViewGroup;
            var shadowWrapper = nativeView.Parent as ShadowWrapper;

            if (shadowWrapper != null)
            {
                //move back to original parent
                shadowWrapper.ResetParent();
                view.SizeChanged -= OnSizeChanged;
            }
            if (isOn)
            {
                shadowWrapper     = new ShadowWrapper(nativeView.Context, nativeView);
                view.SizeChanged += OnSizeChanged;
            }
        }