aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml')
-rw-r--r--Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml b/Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml
index 2ba887459..569469239 100644
--- a/Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml
+++ b/Software/Visual_Studio/TEMP/Tango.Graphics2D/MainWindow.xaml
@@ -11,22 +11,22 @@
<SolidColorBrush x:Key="RRR" Color="Blue"></SolidColorBrush>
</Window.Resources>
<Grid>
- <!--<ListBox ItemsSource="{Binding Persons}" VirtualizingPanel.IsVirtualizing="False" ScrollViewer.CanContentScroll="False">
+ <ListBox ItemsSource="{Binding Persons}" VirtualizingPanel.IsVirtualizing="False" ScrollViewer.CanContentScroll="False">
<ListBox.ItemTemplate>
<DataTemplate>
- <local:Drawing2DCanvas Height="50" x:Name="host">
+ <Canvas>
<Rectangle Width="30" Height="30">
<Rectangle.Fill>
<SolidColorBrush Color="{Binding Color}" />
</Rectangle.Fill>
</Rectangle>
- <TextBlock Canvas.Left="40" Text="{Binding Age}"></TextBlock>
- </local:Drawing2DCanvas>
+ <TextBlock Canvas.Left="40" Text="{Binding Name}"></TextBlock>
+ </Canvas>
</DataTemplate>
</ListBox.ItemTemplate>
- </ListBox>-->
+ </ListBox>
- <StackPanel>
+ <!--<StackPanel>
<local:Drawing2DStackPanel VerticalAlignment="Top">
<TextBlock Text="Left Top" HorizontalAlignment="Left" Margin="0 20 0 0"></TextBlock>
<TextBlock Text="Center Center" HorizontalAlignment="Center" Margin="0 20 0 0"></TextBlock>
@@ -38,7 +38,7 @@
<TextBlock Margin="100 0 0 0" VerticalAlignment="Bottom">Right Bottom</TextBlock>
<Rectangle Margin="100 0 0 0" Fill="Red" Width="100" Height="100"></Rectangle>
</local:Drawing2DStackPanel>
- </StackPanel>
+ </StackPanel>-->
</Grid>
</Window>