title: How to snap app programmatically in windows 8?
body: <p>how can I programmatically set a windows 8 application to snapped view? Also, what happens if the screen resolution is 1024 where snap is not allowed? Will an exception occur when calling this function?</p>