Setup Test UI and Added Prototype DataGrid
This commit is contained in:
		@@ -27,6 +27,26 @@
 | 
			
		||||
            <TextBox Grid.Row="1"  Grid.Column="1" Margin="0 5" Text="0" Name="fahrenheit"/>
 | 
			
		||||
            <Button Grid.Row="2" Grid.Column="1" Margin="0 5" Click="ButtonClicked">Calculate</Button>
 | 
			
		||||
        </Grid>
 | 
			
		||||
        <DataGrid Margin="20" ItemsSource="{Binding Planets}"   
 | 
			
		||||
            AutoGenerateColumns="True" IsReadOnly="True" 
 | 
			
		||||
            GridLinesVisibility="All"
 | 
			
		||||
            BorderThickness="1" BorderBrush="Gray">
 | 
			
		||||
        </DataGrid>
 | 
			
		||||
 | 
			
		||||
        <!-- ScrollViewer>
 | 
			
		||||
            <ItemsControl ItemsSource="{Binding Planets}">
 | 
			
		||||
                <ItemsControl.ItemTemplate>
 | 
			
		||||
                    <DataTemplate DataType="vm:PlanetViewModel">
 | 
			
		||||
                        <Grid ColumnDefinitions="200, 100, 50">
 | 
			
		||||
                            <TextBlock Grid.Column="0" Text="{Binding Name}"/>
 | 
			
		||||
                            <TextBlock Grid.Column="1" Text="{Binding Owner}"/>
 | 
			
		||||
                            <TextBlock Grid.Column="2" Text="{Binding Value}"/>
 | 
			
		||||
                        </Grid>
 | 
			
		||||
                    </DataTemplate>
 | 
			
		||||
                </ItemsControl.ItemTemplate>
 | 
			
		||||
            </ItemsControl>
 | 
			
		||||
        </ScrollViewer-->
 | 
			
		||||
 | 
			
		||||
  </StackPanel>
 | 
			
		||||
 | 
			
		||||
</Window>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user