Both of these would make my footer bold, but it wouldn't change the fontsize
3 Answers, 1 is accepted
answered on 11 Jul 2013, 10:14 PM
In general with both styles you can set the FontSize property of a single GridViewFooterCell or to all GridViewFooterCells through defining a style targeted at GridViewFooterRow.
Would it be possible to try to isolate the problem in a small runnable project and send it back to us as an attachment in a new support thread?
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>
The result see attached screenshot, the FontWeight is "Thin", but FontSize is not changed.
answered on 30 Dec 2020, 11:10 AM
This reproduces only in the Telerik themes that support palettes. In your case this is the Fluent theme or at least it seems so from the picture. In this case, the FontSize is fetched and assigned to the RadGridView elements using one of the palette property. This setting has a higher priority then a Style Setter which is why your code snippet doesn't work.
If you want to set the font size only to the footer elements, you can use the CellLoaded event where you can set the FontSize of the GridViewFooterCell elements in code. This will override the palette setting because it has a higher priority.
privatevoidRadGridView_CellLoaded(object sender, CellEventArgs e)
if (e.Cell is GridViewFooterCell)
e.Cell.FontSize = 6;
I hope this helps.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.