Normally it is not possible to bind text to WinRT RichTextBlock as we do for TextBlock. RichTextBlock is devoid of Text dependency property. So the only way is to populate the Blocks property with paragraphs in code behind. But by simply declaring an attached property, we can achieve binding to text in RichTextBlock. The XAML... Continue Reading →
Syncfusion Radial Menu Command binding
Radial Menu has the ability to add items through ItemsSource property. A collection of different types of objects can be added into the Items collection. If the ItemsSource is not null, the items in the items property are read-only. You cannot add an object or change the objects in the Items property. In this case,... Continue Reading →
Silverlight like Data Validation in WinRT
According to a recent MSDN.com forum discussion, Silverlight-like data validation is not available in WinRT. Syncfusion’s editor controls, however, do have built-in options to achieve such data validation. In Silverlight, data is validated by using the IDataErrorInfo interface. With Syncfusion WinRT editors, we use the Syncfusion.UI.Xaml.Controls.Data.IDataValidation interface for data validation… [Read more]
Different sized tile items in WinRT GridView
GridView in WinRT allows you to arrange tile items in wrap manner. In case, if you want to arrange items as in Windows store app, we need different sized tile items. There is no direct way to configure different sized items while using data binding in Grid View. I am going to explain the solution... Continue Reading →
Syncfusion released Beta version of WinRT controls
Syncfusion now come up with a pack of WinRT XAML controls, which includes high performance chart, maps, diagram, radial menu, etc. It also includes a unique set of controls for reading and writing Excel, Word, and PDF documents in Windows store apps. The studio for WinRT can be downloaded from the below location. http://www.syncfusion.com/products/winrt Chart... Continue Reading →
Building a deployable custom control for XAML Metro style apps
Tim Heuer wrote a very nice article about deployment of custom control for WinRT. At //build one of the surprising immediate things I heard about was folks wanting to build custom controls right away. I knew that would happen, but not so quick on something so new (WinRT). The XAML platform did not have good... Continue Reading →
Splash screen for Windows 8
When users launch an app, they are immediately welcome by the splash screen. Every Windows 8 app has a splash screen, which consists of a 620x300 image and solid background color. Windows presents the splash screen on your behalf in order to welcome users while your app is activated. The activated event is received by... Continue Reading →
Handling orientation changes in Windows 8
DisplayProperties class provides various properties that are related to the physical display. For most of these properties, the class provides events to allow clients to monitor for changes in the properties. Respond to the static OrientationChanged event. Determine the orientation from the CurrentOrientation property. partial class MainPage { public MainPage() { InitializeComponent(); DisplayProperties.OrientationChanged +=... Continue Reading →