Archive for the ‘WPF’ Category

Very interesting

09:25 AM

Very interesting:

C# Express Outlook Addin
WPF for WinForms Developer

WPF Trace Client & TCP Trace Listener

06:27 PM

On http://www.codeproject.com I’ve posted an Article about a WPF Trace Client and a TCP Trace Listener. This is a first Release so stay tuned for updates.

http://www.codeproject.com/KB/dotnet/WPF_TraceClient.aspx

Easy Data Validation in WPF

01:56 PM

The Windows Presentation Foundation SDK Team describes the new possibilities of data validation in 3.5. To flag most of the entry error, just set ValidatesOnExceptions on the Binding:

{Binding Path=..., ValidatesOnExceptions=true}

WPF: DateTime Format

05:08 PM

Ever wondering why DateTime’s in WPF are formatted the American way? Well, here is the reason why: WPF Tips’n'Tricks #1: Have all your dates, times, numbers… in the local culture

In short:


static App()
{
    FrameworkElement.LanguageProperty.OverrideMetadata(
        typeof(FrameworkElement),
        new FrameworkPropertyMetadata(
            XmlLanguage.GetLanguage(
                CultureInfo.CurrentCulture.IetfLanguageTag)));
}