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

RadMenuItem Icon Property

2 Answers 204 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Nuno
Top achievements
Rank 1
Nuno asked on 02 Oct 2013, 10:52 AM
Hello,

how can i assign a ControlTemplate in an Icon Property of RadMenuItem ? I have a vectorial image with a Path and i want to put it in an RadMenuItem...

Thanks in advance.
Nuno

2 Answers, 1 is accepted

Sort by
0
Nuno
Top achievements
Rank 1
answered on 02 Oct 2013, 10:57 AM
Nevermind guys!!! Already found....so simple:

Here's the code for future reference:

<telerik:RadRibbonSplitButton Text="Resumenes" Size="Small"  x:Name="btnState" >
        <telerik:RadRibbonSplitButton.Content>
            <rpcs:SymbolContent IconKey="resourceKey" />
        </telerik:RadRibbonSplitButton.Content>
        <telerik:RadRibbonSplitButton.DropDownContent>
            <telerik:RadMenuItem>
                <telerik:RadMenuItem.Icon>
                    <rpcs:SymbolContent IconKey="iconKey" />
                </telerik:RadMenuItem.Icon>
            </telerik:RadMenuItem>
.......<!--more buttons-->
        </telerik:RadRibbonSplitButton.DropDownContent>
    </telerik:RadRibbonSplitButton>

Best regards 4 all!!!!!!!
0
Ankesh
Top achievements
Rank 1
answered on 27 Dec 2018, 02:07 PM

Can you share more details please?

What is this?

 <rpcs:SymbolContent IconKey="iconKey" />

Tags
Menu
Asked by
Nuno
Top achievements
Rank 1
Answers by
Nuno
Top achievements
Rank 1
Ankesh
Top achievements
Rank 1
Share this question
or