|
|
@ -19,7 +19,7 @@ |
|
|
<ColumnDefinition Width="Auto"/> |
|
|
<ColumnDefinition Width="Auto"/> |
|
|
<!-- |
|
|
<!-- |
|
|
When selecting the Application node, we need this trick to hide Layout Visualizer |
|
|
When selecting the Application node, we need this trick to hide Layout Visualizer |
|
|
because when using the GridSplitter it sets the Witdth property of ColumnDefinition |
|
|
because when using the GridSplitter it sets the Width property of ColumnDefinition |
|
|
(see https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/GridSplitter.cs#L528) |
|
|
(see https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/GridSplitter.cs#L528) |
|
|
and if we hide the contents of the column, the space is not reclaimed |
|
|
and if we hide the contents of the column, the space is not reclaimed |
|
|
(see discussion https://github.com/AvaloniaUI/Avalonia/discussions/6773). |
|
|
(see discussion https://github.com/AvaloniaUI/Avalonia/discussions/6773). |
|
|
@ -62,15 +62,15 @@ |
|
|
<DataGridTextColumn Header="Value" Binding="{Binding Value}" /> |
|
|
<DataGridTextColumn Header="Value" Binding="{Binding Value}" /> |
|
|
<DataGridTextColumn Header="Type" Binding="{Binding Type}" |
|
|
<DataGridTextColumn Header="Type" Binding="{Binding Type}" |
|
|
IsReadOnly="True" |
|
|
IsReadOnly="True" |
|
|
IsVisible="{Binding !$parent[UserControl;2].DataContext.ShowDettailsPropertyType}" |
|
|
IsVisible="{Binding !$parent[UserControl;2].DataContext.ShowDetailsPropertyType}" |
|
|
/> |
|
|
/> |
|
|
<DataGridTextColumn Header="Assinged Type" Binding="{Binding AssignedType, Converter={StaticResource GetTypeName}}" |
|
|
<DataGridTextColumn Header="Assigned Type" Binding="{Binding AssignedType, Converter={StaticResource GetTypeName}}" |
|
|
IsReadOnly="True" |
|
|
IsReadOnly="True" |
|
|
IsVisible="{Binding $parent[UserControl;2].DataContext.ShowDettailsPropertyType}" |
|
|
IsVisible="{Binding $parent[UserControl;2].DataContext.ShowDetailsPropertyType}" |
|
|
/> |
|
|
/> |
|
|
<DataGridTextColumn Header="Property Type" Binding="{Binding PropertyType, Converter={StaticResource GetTypeName}}" |
|
|
<DataGridTextColumn Header="Property Type" Binding="{Binding PropertyType, Converter={StaticResource GetTypeName}}" |
|
|
IsReadOnly="True" |
|
|
IsReadOnly="True" |
|
|
IsVisible="{Binding $parent[UserControl;2].DataContext.ShowDettailsPropertyType}" |
|
|
IsVisible="{Binding $parent[UserControl;2].DataContext.ShowDetailsPropertyType}" |
|
|
/> |
|
|
/> |
|
|
<DataGridTextColumn Header="Priority" Binding="{Binding Priority}" IsReadOnly="True" /> |
|
|
<DataGridTextColumn Header="Priority" Binding="{Binding Priority}" IsReadOnly="True" /> |
|
|
</DataGrid.Columns> |
|
|
</DataGrid.Columns> |
|
|
|