Created
February 23, 2013 20:04
-
-
Save mathieubrun/5021122 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DataTemplate DataType="{x:Type Elements:DateElement}"> | |
<DockPanel> | |
<TextBlock Text="{Binding Name}" DockPanel.Dock="Left" Width="80"/> | |
<DatePicker SelectedDate="{Binding Value}" /> | |
</DockPanel> | |
</DataTemplate> | |
<DataTemplate DataType="{x:Type Elements:StringElement}"> | |
<DockPanel> | |
<TextBlock Text="{Binding Name}" DockPanel.Dock="Left" Width="80" /> | |
<TextBox Text="{Binding Value}" /> | |
</DockPanel> | |
</DataTemplate> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment