Hello @Eduardo Gomez ,
Welcome to Microsoft Q&A!
I replaced the Stack panel with Grid, and the button location(space) needs to be stretched, so I add <RowDefinition Height="*" /> for it.
Here is the full test code, I removed the data source.
<Grid x:Name="rootContainer">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="300" />
</Grid.ColumnDefinitions>
<!-- Placeholder for TreeView: Replace ListView with TreeView later -->
<!-- For TreeView, reintroduce SfTreeView and hierarchical structure -->
<ListView
Padding="10"
SelectionMode="Single">
</ListView>
<GridView
Grid.Column="1"
Padding="10"
IsItemClickEnabled="True"
SelectionMode="Single">
</GridView>
<Grid
Grid.Column="2"
Padding="10"
Background="#49212121" >
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Image
Grid.Row="0"
Margin="10"
HorizontalAlignment="Center"
Source="/Assets/gcode_Large.png" />
<Grid Background="Green" Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock
FontWeight="Bold"
Text="File name" />
<TextBlock
Grid.Column="1"
Text="BaseFileName" />
<TextBlock
Grid.Row="1"
FontWeight="Bold"
Text="File extention" />
<TextBlock
Grid.Row="1"
Grid.Column="1"
Text="FileExtention" />
<TextBlock
Grid.Row="2"
FontWeight="Bold"
Text="File creation" />
<TextBlock
Grid.Row="2"
Grid.Column="1"
Text="CreationTime" />
<TextBlock
Grid.Row="3"
FontWeight="Bold"
Text="File creation" />
<TextBlock
Grid.Row="3"
Grid.Column="1"
Text="FileSize" />
<Button Grid.Row="5" Grid.ColumnSpan="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="Start simulation" />
</Grid>
</Grid>
</Grid>
</Grid>
Thank you.