Here is short overview of my xaml structure, and I cant figure out how to have 2 ItemsControl from 2 different bindings inside one DataTemplate and Border for both Rows inside Grid.
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ItemsControl Grid.Row="0" x:Name="AdditionalInfoControl" ItemsSource="{Binding VisibilityCollection}" Grid.ColumnSpan="2">
<DataTemplate>
<Border BorderBrush="DimGray" CornerRadius="8,8,8,8" BorderThickness="2,2,2,2" Margin="5,2,3,3" Background="WhiteSmoke">
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
<ItemsControl Grid.Row="1" x:Name="Details" ItemsSource="{Binding DetailsCollection}" Grid.ColumnSpan="2">
<DataTemplate>
<Border BorderBrush="DimGray" CornerRadius="8,8,8,8" BorderThickness="2,2,2,2" Margin="5,2,3,3" Background="WhiteSmoke">
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate></ItemsControl>
</Grid>
What I have tried:
Code above is what I tried but I dont have idea how to fix this issue.