Very interesting:
Archive for the ‘WPF’ Category
Very interesting
09:25 AMWPF Trace Client & TCP Trace Listener
06:27 PMOn 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.
Easy Data Validation in WPF
01:56 PMThe 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 PMEver 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)));
}