The fast approaching Microsoft’s much-anticipated launch of Windows 8 caused quite a stir in creating Modern UI style applications these days. That’s why we decided to present you Bookshelf - our new demo app created with RadControls for Winforms. This is a Modern UI style application coming with full touch support using the irreplaceable Windows Forms technology. Please welcome the Bookshelf demo application:
The application downloads all the book details' data utilizing an Ebay web service and then displays all titles as tiles sorted in different categories with the help of RadPanorama. All screens have touch scrolling functionality that comes out of the box with this Windows 8 inspired control.
Touch gestures like zoom in and zoom out allows for navigating between the screens. For example, you can start with the “Particular Category” screen and then intuitively zoom out by pinching in with your thumb and pointer fingers to go to the “All Categories - Overview” screen which will reveal a list of all categories easily created by using the RadListView component. After exploring all the categories, perform a zoom-in gesture on the “All Categories - Overview” screen to quickly navigate to the “All Categories - Books” screen: We just wanted to show you how easily we implemented this behavior utilizing the built-in multi-touch support feature in RadListView. Below follows the code:void
radListView1_ZoomGesture(
object
sender, ZoomGestureEventArgs e)
{
if
(CurrentScreen == PageID.AllCategoriesZoomedOut && e.ZoomFactor > 1)
{
CurrentScreen = PageID.AllCategories;
}
}
About the author
Nikolay Diyanov
Nikolay Diyanov is the Unit Manager of Telerik's WinForms division. He joined the company back in 2007 as a Support Officer and made his way up the ladder over the past few years. Delivering outstanding solutions that make developers lives easier is his passion and the biggest reward in his work. In his spare time, Nikolay enjoys travelling around the world, hiking, sun-bathing and kite-surfing.