Created
October 25, 2010 19:31
-
-
Save andersonimes/645567 to your computer and use it in GitHub Desktop.
Testing posting XAML
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
<ItemsControl ItemsSource="{Binding StuffThatIsCool}"> | |
<ItemsControl.ItemTemplate> | |
<DataTemplate> | |
<TextBlock Text="{Binding WhyCool}" /> | |
</DataTemplate> | |
</ItemsControl.ItemTemplate> | |
</ItemsControl> |
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
public void DoStuffThatsCool() | |
{ | |
foreach(var coolThing in StuffThatIsCool) | |
{ | |
coolThing.DoCoolStuff(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment