Performance issues using borders

Oct 14, 2009 at 10:21 PM

Love the control... nice job!

Question: I've created some user controls for the front and back using the thriple:ContentControl3D. When I flip test it.. the flip is horribly sluggish and slow. I removed items on a control one by one to find out what is causing it and discovered the Border control was causing it. well at least this part:

                        <DropShadowBitmapEffect Color="Black" Direction="-10" ShadowDepth="10" Softness="1" Opacity=".5"/>

Is this a known issue or a work around available or just don't use border effects?

BTW: I tried Border.Effect which works better, but flip transition is still choppy... not very smooth .

Thanks in advance


Oct 14, 2009 at 10:23 PM

I'm not surprised by this.  You could have a trigger that removes the effect while rotating, and then adds it back in afterwards.  That's the only workaround I can think of.

Oct 14, 2009 at 10:28 PM

WOW! Thanks for the fast response!!

A slight correction: I just tried this and it now seems to work in a nice smooth transition

            <DropShadowEffect Color="Black" Opacity=".5" ShadowDepth="10" Direction="-10" />


But <Border.BitmapEffect> is definitely a problem. I'll stick to Border.Effect and use your workaround if I need to.

Thanks mate!