We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Icon at DropDownMenuItem

Thread ID:

Created:

Updated:

Platform:

Replies:

131115 Jun 21,2017 06:21 AM Jun 22,2017 07:29 AM WPF 1
loading
Tags: Ribbon
josep
Asked On June 21, 2017 06:21 AM

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

Keerthana Jegannathan [Syncfusion]
Replied On June 22, 2017 07:29 AM

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;