Windows 8 tilt effect does not work on grid

I am trying to set the tilt effect on a grid or rectangle or border, but the effect does not work. I used xmlns: toolkit = "clr-namespace: Microsoft.Phone.Controls; assembly = Microsoft.Phone.Controls.Toolkit"

and for the grid

after starting the application, the effect is impossible. I want to know on which controls we can use the Tilt effect. Support will help, as I'm new to developing a Windows phone. Thanks in advance.

+4
source share
1 answer

Tilt inside the WP Toolkit works only for Selectable items. The grid is not selected by itself. The toolkit is built only to tilt several elements. You can make this work mine Turning tilt for non-selectable items .

It is not enough either to fork out the toolkit, or change the code, or wrap the element with a supported "selectable" element.

+6
source

Source: https://habr.com/ru/post/1532355/


All Articles