I tried to make cell scrollable with a fixed maximum height, it doesn't really work and the content inside pretty much is not visible. Here's the code on the main page:
<DataGridTemplateColumn Header="Reported" Width="*" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.CanContentScroll="True">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ItemsControl ItemsSource="{Binding Reported}" ScrollViewer.CanContentScroll="True"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
And here's the code from ResourceDictionary:
<Style TargetType="{x:Type DataGridCell}" x:Key="DefaultCell">
<Style.Setters>
<Setter Property="TextBlock.TextAlignment" Value="Center"/>
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
<Setter Property="TextBlock.TextTrimming" Value="WordEllipsis"/>
<Setter Property="MaxHeight" Value="40"/>
</Style.Setters>
</Style>
<Style TargetType="{x:Type DataGrid}" x:Name="Test" x:Key="DefaultGrid" BasedOn="{StaticResource BaseStyle}">
<Style.Setters>
<Setter Property="CanUserSortColumns" Value="True"/>
<Setter Property="ColumnHeaderHeight" Value="35"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="CanUserReorderColumns" Value="False"/>
<Setter Property="IsTextSearchEnabled" Value="True"/>
<Setter Property="CanUserAddRows" Value="False"/>
<Setter Property="CanUserDeleteRows" Value="False"/>
<Setter Property="SelectionUnit" Value="FullRow"/>
<Setter Property="ColumnHeaderStyle" Value="{StaticResource DefaultHeader}"/>
<Setter Property="IsReadOnly" Value="True"/>
<Setter Property="CellStyle" Value="{StaticResource DefaultCell}"/>
<Setter Property="CanUserResizeRows" Value="False"/>
</Style.Setters>
</Style>
As you can see I've tried adding this feature in every possible way and it didn't work. Everything else works fine.