When you filter a column on radgridview , a context menu is displayed,which contions a list of items like "no filter", "is null", "not null","Start with" ,"custom" and ...
I wan to change font of it. How can I do?
2 Answers, 1 is accepted
0
Accepted
Dimitar
Telerik team
answered on 01 Jul 2016, 08:21 AM
Hi Manizheh,
Thank you for writing.
The filter drop down is actually a context menu. So you can use the context menu ContextMenuOpening event to change its font:
Font font = new Font("Segoe Script", 11, FontStyle.Regular);
if (e.ContextMenuProvider is GridFilterCellElement)
{
e.ContextMenu.Font = font;
}
}
Please let me know if there is something else I can help you with.
Regards,
Dimitar
Telerik
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.