Icon at DropDownMenuItem

Folks,

Can you explain me how can I add an icon to a DropDownMenuItem ? This code does not show Download.png. (at DropDownButton LargeIcon works)

                <syncfusion:RibbonBar x:Name="groupBanks">
                    <syncfusion:DropDownButton x:Name="drowpDownBanks" SizeForm="Large" LargeIcon="/Images/Banks.png">
                        <syncfusion:DropDownMenuItem x:Name="downDownload" Icon="/Images/Download.png"/>
                    </syncfusion:DropDownButton>
                    <syncfusion:RibbonButton x:Name="buttonAccount" SizeForm="Large" LargeIcon="/Images/Accounts.png"/>
                    <syncfusion:RibbonButton x:Name="buttonChargesSource" SizeForm="Large" LargeIcon="/Images/ChargesSources.png"/>
                </syncfusion:RibbonBar>

Cheers

Attachment: icon_9aa413c8.7z

1 Reply

KJ Keerthana Jegannathan Syncfusion Team June 22, 2017 11:29 AM UTC

Hi Josep, 
 
Thank you for contacting Syncfusion support. 
 
In DropdownButton, icon can be set to the DropDownMenuItem by setting ImageSource to its icon property. We have prepared a sample in which we have assigned image to the ImageSource property of the DropDownMenuItem’s icon and it can be downloaded from the below location. 
 
 
Regards, 
Keerthana J 


Loader.
Up arrow icon