2021-01-11, 17:26
Hi, I have a fade out/in animation on Window Close/Open between my home and viewscreens, which is fine.
I need to trigger some controls in dialogs (e.g. volumebar) at the start of the animation (i.e. when a button is pressed) to close the window rather than when the animation is complete, which is when !Window.IsVisible kicks in.
So far, the closest I got is with an onclick to set a window property on my home menu, but then the click doesn't work as it looks like it overwrites the built in click action. Is it possible to have more than one <onclick> and if so, what would be the action for the default action? If not, is there another way to trigger something at the start of the WindowClose animation instead of the end?
I need to trigger some controls in dialogs (e.g. volumebar) at the start of the animation (i.e. when a button is pressed) to close the window rather than when the animation is complete, which is when !Window.IsVisible kicks in.
So far, the closest I got is with an onclick to set a window property on my home menu, but then the click doesn't work as it looks like it overwrites the built in click action. Is it possible to have more than one <onclick> and if so, what would be the action for the default action? If not, is there another way to trigger something at the start of the WindowClose animation instead of the end?