DataGridView has a AutoSizeRowsMode but I can't find an equivalent RadGridView property.
Help?
5 Answers, 1 is accepted
You can set MaxHeight for GridViewRow using implicit style.
All the best,Vlad
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Unfortunately, I don't want to limit the height of the row that it can get as my multi-line values should be displayed in full. I simply want the grid to not resize when that column is out of view.
You can try to turn off the horizontal virtualization - EnableColumnVirtualization=False.
Kind regards,Vlad
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

<Controls:RadGridView x:Name="TelerikGrid" AutoGenerateColumns="False" ItemsSource="{Binding Path=EventsRecords}" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed"
Background="{DynamicResource ContainerBackground}" IsReadOnly="True" Filtered="EventsView_Filtered" EnableColumnVirtualization="false">
<Controls:RadGridView.Columns>
<Controls:GridViewDataColumn DataMemberBinding="{Binding DisplayHeader}" Header="{x:Static Templates:Res.EventsRecordDisplayHeaderColumn}" />
<Controls:GridViewDataColumn DataMemberBinding="{Binding ParsedEventDetails}" Header="{x:Static Templates:Res.EventsRecordParsedEventDetailsColumn}"/>
<Controls:GridViewDataColumn DataMemberBinding="{Binding SequenceNumber}" Header="{x:Static Templates:Res.EventsRecordSequenceNumberColumn}" />
<Controls:GridViewDataColumn DataMemberBinding="{Binding ReceivedTime}" Header="{x:Static Templates:Res.EventsRecordReceivedTimeColumn}">
<Controls:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock>
<TextBlock.Text>
<MultiBinding Converter="{markup:TimeZoneConverter}" ConverterParameter="DateTime" ConverterCulture="{x:Static Globalization:CultureInfo.CurrentCulture}">
<Binding Path="ReceivedTime"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[PresentationTimeZone]"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[StandardAbbreviation]"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[DaylightAbbreviation]"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</Controls:GridViewDataColumn.CellTemplate>
</Controls:GridViewDataColumn>
<Controls:GridViewDataColumn DataMemberBinding="{Binding EventTimestamp}" Header="{x:Static Templates:Res.EventsRecordEventTimestampColumn}">
<Controls:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock>
<TextBlock.Text>
<MultiBinding Converter="{markup:TimeZoneConverter}" ConverterParameter="DateTime" ConverterCulture="{x:Static Globalization:CultureInfo.CurrentCulture}">
<Binding Path="EventTimestamp"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[PresentationTimeZone]"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[StandardAbbreviation]"/>
<Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type UserControl}}" Path="DataContext.Item[DaylightAbbreviation]"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</Controls:GridViewDataColumn.CellTemplate>
</Controls:GridViewDataColumn>
<Controls:GridViewDataColumn DataMemberBinding="{Binding Description}" Header="{x:Static Templates:Res.EventRecordDescriptionColumn}" />
</Controls:RadGridView.Columns>
</Controls:RadGridView>
In the case of custom cell template, you may set the max height of the TextBlocks you have placed inside the cells . This should do the trick.
Greetings,
Pavel Pavlov
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>