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

Expander in RadContextMenu

3 Answers 13 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 11 Nov 2020, 10:37 AM

Hi,

I increased the font size of a RadMenuItem in a RadContextMenu. This part works fine. However, if the RadMenuItem has a nested menu, then it has an expander icon which looks too small next to the large font. Is it possible to increase the expander icon?

3 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 16 Nov 2020, 09:57 AM

Hi,

To increase the size of the expander icon, you will need to modify the control template of the RadMenuItem and change the size of its ExpanderIcon element. You can replace the default Path element which is used with a RadGlyph and bind its FontSize to the FontSize of the parent menu item:

                                    <Grid x:Name="ExpandIcon" Margin="0 0 2 0" Height="19" Width="16" Visibility="Collapsed">
                                        <telerik:RadGlyph FontSize="{TemplateBinding FontSize}" Glyph="{StaticResource GlyphArrow60Right}" />
                                    </Grid>
Please note that to use the GlyphArrow60Right resource, you need to merge the FontResources.xaml dictionary as explained here.

Do let me know if you find this helpful. If you require any further assistance with the exact implementation, please specify the theme(s) you're using and your theming approach (StyleManager or implicit styles) and I will gladly provide more guidance on the matter.

Regards,
Dilyan Traykov
Progress Telerik

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/.

0
n/a
Top achievements
Rank 1
answered on 19 Nov 2020, 06:28 AM

Thank you very much for the detailed answer.

Currently the priority of this issue is low, but at least I have a direction now.

0
Dilyan Traykov
Telerik team
answered on 19 Nov 2020, 12:55 PM

Hello,

I'm glad to hear you found my answer helpful. Do let me know if I can further assist you in any way.

Regards,
Dilyan Traykov
Progress Telerik

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/.

Tags
General Discussions
Asked by
n/a
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
n/a
Top achievements
Rank 1
Share this question
or