.NET 4.5 WinRT: Get custom attributes from enum value
Currently I’m very busy in creating a bigger Windows 8 Metro app for managing private financial data. I’m creating the app with the WinRT/.NET 4.5/C#/XAML programming model of Windows 8 and my first...
View ArticleWinRT/C#: DataPackage and custom objects
Ok, after some intensive implementation weeks, I think I should blog some articles about tips’n’tricks when developing Windows 8 Metro apps with WinRT and C#. This first article is about the...
View ArticleIntroducing the WinRT XAML Validation library
In this article I’m going to introduce „WinRT XAML Validation“, a library that brings consistent validation of user input to WinRT/C#/XAML apps. Upcoming blog posts will cover several aspects of the...
View ArticleWinRT XAML Validation library: Getting Started
This little blog posts describes how you can include the WinRT XAML Validation library in your project and get it to work. Download First go to the WinRT XAML Validation Codeplex project page and...
View ArticleWinRT XAML Validation library: Basic Validation Attributes
Validation in the WinRT XAML Validation library is mainly based on .NET Data Annotations from the System.ComponentModel.DataAnnotations namespace. Here you can find several attributes, that you can...
View ArticleWinRT XAML Validation library: Property-Group Validation Attributes
All predefined validation attributes in the System.ComponentModel.DataAnnotations namespace can be used to annotate a single property of an entity. So they cannot be used for validation that spans...
View ArticleWinRT XAML Validation library: Async Validation Attributes
Last posts have shown how basic validation attributes and property-group based validation attributes can be used to define custom validation logic, that goes beyond the default capabilities of Data...
View ArticleWinRT XAML Validation library: Implicit and Explicit Validation Execution
Now that you have defined all your validation attributes on your model classes, you want to perform validation to detect if your entity is valid or not. Here you can go two ways with the WinRT XAML...
View ArticleWinRT XAML Validation library: Manual Validation
Defining validation logic using Data Annotations is the default and recommended way in the WinRT XAML Validation library. But of course there are good reasons that you don’t want to use this approach....
View ArticleWinRT XAML Validation library: UI Controls for Validation
After you’ve defined the validation logic for your entities and performed validation automatically or manually, you want to show the aggregated validation messages on the UI. Unfortunately WinRT/XAML...
View Article