protected override void CloneCore(Freezable sourceFreezable)
        {
            EmbeddedBitmapSource cloneSource = (EmbeddedBitmapSource)sourceFreezable;

            CopyFrom(cloneSource);
            //base.CloneCore( sourceFreezable );
        }
        protected override void GetCurrentValueAsFrozenCore(Freezable sourceFreezable)
        {
            EmbeddedBitmapSource cloneSource = (EmbeddedBitmapSource)sourceFreezable;

            CopyFrom(cloneSource);
            //base.GetCurrentValueAsFrozenCore( sourceFreezable );
        }
        private void CopyFrom(EmbeddedBitmapSource source)
        {
            this.BeginInit();

            _bitmap = source._bitmap;

            this.InitWicInfo(_bitmap);
            this.EndInit();
        }
        private void CopyFrom(EmbeddedBitmapSource source)
        {
            this.BeginInit();

            _bitmap = source._bitmap;

            this.InitWicInfo(_bitmap);
            this.EndInit();
        }