Preeti Wadhwani
Preeti Wadhwani

Reputation: 315

Windows phone 8 tilt effect not Working on grid

I am trying to put tilt efffect on grid or rectangle or border but the effect is not working.I have used xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"

and for grid

there is no effect after running the application. I want to know on which controls we can use Tilt effect.Kindly help as I am new to windows phone development.Thanks in advance.

Upvotes: 4

Views: 1195

Answers (1)

Shawn Kendrot
Shawn Kendrot

Reputation: 12465

Tilt within the WP Toolkit only works for "Selectable" items. A Grid is not Selectable by itself. The Toolkit is built to only tilt a few elements. You can make this work my Enabling tilt on non-selectable items.

The short of it is to either fork the toolkit and change the code, or wrap your element by a supported "selectable" item.

Upvotes: 6

Related Questions