This is a migrated thread and some comments may be shown as answers.

how to set row minheight and maxheight in radgridview

1 Answer 521 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 03 Apr 2018, 10:30 AM

Hi Team,

 

I am trying to set minheight and maxheight for row while using text wrapping in radgridview.

Please let me know any way to handle rowheight.

 

Thanks,

Amit Kulha

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 05 Apr 2018, 04:02 PM
Hello Amit,

I answered your question in the opened support ticket. For the sake of completeness, I am posting the answer here as well:
 
In order to limit the row height of the RadGridView, you can set the MaxHeight property of the GridViewRow through a style like so:
<Style TargetType="telerik:GridViewRow">
            <Setter Property="MaxHeight" Value="25" />
</Style>

Regards,
Vladimir Stoyanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Amit
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or