Reputation: 1180
How do I change the windows phone toolkit property of an object (for example a Stack Panel
) in C#.
The particular property is referred to as toolkit:TiltEffect.IsTiltEnabled (of type bool) in .xaml, but I don't know how to access it in C#.
Thanks, I hope someone can shed some light on the matter.
Upvotes: 0
Views: 318
Reputation: 1313
if you want to have this effect on all elememts of the grid then in your xaml page
define like toolkit:IsTiltEffect.Isenabled = true
and if you want any specific control to follow this property then .. Tilteffect.Settiltenabled(control,true);
in .cs file
i hope this will help
Upvotes: 0