RadMenuItem Icon Property

2 posts, 0 answers
  1. Nuno
    Nuno avatar
    2 posts
    Member since:
    Oct 2013

    Posted 02 Oct 2013 Link to this post

    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. Nuno
    Nuno avatar
    2 posts
    Member since:
    Oct 2013

    Posted 02 Oct 2013 Link to this post

    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!!!!!!!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top