Windows Store 8.1: Save visual element to bitmap image file

If you has already familiar with Windows Phone development. You may able to capture screen or visual element to image file using the Render method of WriteableBitmap object. When develop Windows Store app, the Render method will not exist at this time. If you are developing Windows Store 8.0 application,…

Continue Reading Windows Store 8.1: Save visual element to bitmap image file

Windows Store RT: Access controls in other page

When develop Windows Store App, sometime you may want to access controls in another page. For example: In the MainPage, you are playing background music using MediaElment control. Your app has SettingsFlyout page to allow user enable/disable the background music via ToggleSwitch control. You want Application must stop/start music right…

Continue Reading Windows Store RT: Access controls in other page

Windows Store RT: Save game/application state when closing app via close gesture or Alt+F4

If you has already family with Windows Phone development. You may often saving application/game state by overriding MainPage's OnNavigatedFrom event. But with Windows Store app (Windows RT). The event is not fire when user is closing application by "close gesture" or Alt+F4 keyboard function. So the question is how to…

Continue Reading Windows Store RT: Save game/application state when closing app via close gesture or Alt+F4

Applying DataTemplate programmatically in Windows 8 Store App

Sometime you want to apply dynamic layout and content for Windows Store app. For example, when user click on button or changing the windows orientation. In that case, you could use animation and StoryBoard. But sometime you could not and need to implement by code. In this article I will…

Continue Reading Applying DataTemplate programmatically in Windows 8 Store App