Hello,
in my application I use PresentDialog()/DismissDialog()/SwitchToDialog() and effects.
Additional I implemented a container for my GUI content. Now I have noticed that only by the fade-in effect the effect is visible. If I use DismissDialog() or SwitchToDialog() the screen is changing every time, but only the first change has a fade out effect. My goal would be to change the screens with a simultaneously fade in /fade out effect.
The method is currently implemented in the Application::ContentContainer class like this:
// The value doesn't change - nothing to do.
if ( pure Content == value )
return;
if ( pure Content != null )
Remove( pure Content );
// Remember the property's new value.
pure Content = value;
if(OutletSystem^ == Application::SystemState.Standby)
{
this.SwitchToDialog( value, DesignComp::MyFadeInOut, DesignComp::MyFadeInOut, null, null, null, null, null, null, null, true );
}
else
{
this.SwitchToDialog( value, DesignComp::MyFadeInOut, DesignComp::MyFadeInOut, null, null, null, null, null, null, null, true );
}
Do you have any idea why only the first fade-out effect is working?