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

RadGridView some property values

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chunyang
Top achievements
Rank 1
Chunyang asked on 27 Dec 2018, 03:21 AM

Hello,

I wanted to change the FontSize of RadGridView, but it didn't seem to work. I also wanted to set RowHeaderHeight, but could not find the corresponding attribute value.

How can I change FontSize? How can I set RowHeaderHeight?

Thanks

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 27 Dec 2018, 07:15 AM
Hello Chunyang,

I have tested setting the  property of RadGirdView on my end and it takes effect. May I ask you which theme you are using? Are you using our Xaml or  assemblies?

As for the height of grid's header - you can achieve this by setting the Height property of the GridIVewHeaderRow element through a style:

<Style TargetType="telerik:GridViewHeaderRow">
           <Setter Property="Height" Value="50"/>
</Style>

Please note that if you are using our  , you will have to base the style on our GridViewHeaderRowStyle:
<Style TargetType="telerik:GridViewHeaderRow" BasedOn="{StaticResource GridViewHeaderRowStyle}">
         <Setter Property="Height" Value="50"/>
</Style>


Regards,
Yoan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Chunyang
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or