c# - ScatterView item orientation and PrimarySurfaceDevice.Tilt -


i'm working in visual c# 2010 express wpf develop application microsoft surface table, , cannot life of me find simple solution problem.

when using scatterview control without setting custom template scatterview items, control throws new scatterviewitems onto screen @ random orientations , positions. this, like.

i developing program on vertical screen, on scatterviewitems randomly thrown, except upright, , never thrown on updide-down. getting @ control knows screen vertical , keeps items starting out upside down.

however, when transfer program device horizontal screen, items thrown out randomly , upside down original app orientation. again the scatterview control reading interactivesurface.primarysurfacedevice.tilt (or it) , compensating.

how make stop doing this?

i want items continue appear in scatterview if screen vertical. can trick scatterview thinking it's vertical still? can turn feature off? avoid making own template scatterviewitems.

thanks!

set orientation property 0 each item. randomness happens when haven't explicitly set value


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -