Add entity id to grid views
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<UserControl x:Class="Torch.Server.Views.Entities.GridView"
|
<UserControl x:Class="Torch.Server.Views.Entities.GridView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
</UserControl.DataContext>
|
</UserControl.DataContext>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="Auto"/>
|
<RowDefinition Height="Auto"/>
|
||||||
<RowDefinition Height="*"/>
|
<RowDefinition Height="*"/>
|
||||||
@@ -23,7 +24,11 @@
|
|||||||
<Label Content="Position" Width="100"/>
|
<Label Content="Position" Width="100"/>
|
||||||
<TextBox Text="{Binding Position}" Margin="3" />
|
<TextBox Text="{Binding Position}" Margin="3" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<ScrollViewer Grid.Row="2" Margin="3" VerticalScrollBarVisibility="Auto">
|
<StackPanel Grid.Row="2" Orientation="Horizontal">
|
||||||
|
<Label Content="EntityID" Width="100"/>
|
||||||
|
<TextBox Text="{Binding Id}" Margin="3" />
|
||||||
|
</StackPanel>
|
||||||
|
<ScrollViewer Grid.Row="3" Margin="3" VerticalScrollBarVisibility="Auto">
|
||||||
<local:EntityControlsView DataContext="{Binding}"/>
|
<local:EntityControlsView DataContext="{Binding}"/>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
Reference in New Issue
Block a user