c# - How can I use my own application bar with tilt effec? -
for windows phone 8 application, i'm implementing own application bar (i can't use application bar provided system). working fine, have 1 big problem: tilt effect menu items!
i've tried used tilt effect provided wp toolkit, doesn't original one. how can use exact tilt effect system application bar in own application bar ?
thanks.
because own app bar not tiltable item. can tilteffect.cs file link:
http://code.msdn.microsoft.com/wpapps/tilt-effect-sample-fab3b035
and should add own app bar tiltableitems in tilteffect's constructor, this:
static tilteffect() { // tiltable items list. tiltableitems = new list<type>() { typeof(buttonbase), typeof(listboxitem), }; tiltableitems.add(typeof(border)); tiltableitems.add(typeof(tilteffectablecontrol)); uselogarithmicease = false; }
Comments
Post a Comment