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:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
@@ -11,6 +11,7 @@
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
@@ -23,8 +24,12 @@
|
||||
<Label Content="Position" Width="100"/>
|
||||
<TextBox Text="{Binding Position}" Margin="3" />
|
||||
</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}"/>
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
</UserControl>
|
||||
|
Reference in New Issue
Block a user