We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn MoreHi
When working with WPF I always found myself thinking how to handle Data formatting when a WPF control was bound to it. Let’s look at the following example of a window with a TextBlock that displays a DateTime:
1: <Window x:Class="BindingFormat.Window1"
2: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4: Title="Window1" Height="300" Width="300">
5: <Grid>
6: <TextBlock Text="{Binding}"></TextBlock>
7: </Grid>
8: </Window>
This article was written by Alan Mendelevich
Creating a shape with bullets on the joints of it’s segments sounds like a really trivial task at a first glance. Just plaster some bullets on top of the shape. And it is really something like this until you decide you want to have transparent outlined bullets or opaque bullets with transparent outline around them. Like the ones in this picture:
Let me share you with one of the weirdest errors I ever encountered. Recently, I have been working on a distributed application which is built from a server and some clients. The clients are Windows Forms applications. Yesterday, I spent a whole day chasing a very weird and strange error - I was getting an exception at the main method (unhandled exception) of the client application. Here is what I got:
The error description was:
This article was written by Alan Mendelevich
Hi
Recently I’ve been working on a set of custom WPF controls.
There are numerous good books and articles about WPF in general and some basic information on custom control development but I have yet to find a good article (or book) with in-depth coverage of custom control development in general and design-time related issues in particular.
Copyright © 2012 Dev102.com
Breeze : Designed by Amit Raz and Nitzan Kupererd