change font of Gridview Filter

2 posts, 0 answers
  1. manizheh
    manizheh avatar
    3 posts
    Member since:
    Jun 2016

    Posted 30 Jun Link to this post

    How can I change font of filter in radgridview? Actually I want change font of texts like "no filter", "contains","Does not contain","custom", "Null" and ...


  2. Dimitar
    Dimitar avatar
    1321 posts

    Posted 01 Jul Link to this post

    Hi Manizheh,

    Thank you for writing.

    You can use the ViewCellFormatting event to change the font:
    Font font = new Font("Segoe Script", 11, FontStyle.Regular);
    private void RadGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
        if (e.CellElement is GridFilterCellElement)
            var cell = e.CellElement as GridFilterCellElement;
            cell.FilterOperatorText.Font = font;

    Let me know if I can assist you further.

    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top