<local:CustomDataGrid Grid.Row="0" Height="200"
IsReadOnly="True" x:Name="dgCaseHistory"
AutoGenerateColumns="False">
<local:CustomDataGrid.RowDetailsTemplate>
<DataTemplate>
<Grid Background="Black" Height="{Binding ElementName=dgCaseHistory, Mode=TwoWay,Path=Height}">
<TextBlock Text="testestestest" />
</Grid>
</DataTemplate>
</local:CustomDataGrid.RowDetailsTemplate>
</local:CustomDataGrid>
<local:CustomDataGrid Grid.Row=0 Height=200 IsReadOnly=True x:Name=dgCaseHistory AutoGenerateColumns=False> <local:CustomDataGrid.RowDetailsTemplate> <DataTemplate> <Grid Background=Black Height={Binding ElementName=dgCaseHistory, Mode=TwoWay,Path=Height}> <TextBlock
Share
Try binding to the
ActualHeightproperty.If not, check the Output Window in Visual Studio for any DataBinding errors and update your question with those details.