The Tim Sneath Challenge IV
August 17, 2006
Roscoe, NY
I'm sure we all know this one, which I call RightNow.xaml:
-
<!-- RightNow.xaml by Charles Petzold -->
<Label xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:System;assembly=mscorlib"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Times New Roman"
FontSize="24pt"
Content="{x:Static s:DateTime.Now}" />
It snags and displays the current date and time. The display isn't dynamically updated, alas, but maybe someday, all properties will be dependency properties.