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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing background and menu group button in MenuAdv

Thread ID:





150923 Jan 24,2020 10:53 AM UTC Jan 28,2020 11:04 AM UTC WPF 3
Tags: MenuAdv
Jakub Marcickiewicz
Asked On January 24, 2020 01:54 PM UTC


I would like to know if it is possible to delete grey background of this control.
Also How i can change looks of menu bar (MenuGroup1, MenuGroup2 looks exacly)?

Also I would like to align left side of MenuItems to right so it would not look so strange.

I mean:
Now is like this:
                         MenuGroup1 MenuGroup2
| MenuItem1                          |

I want this:
                         MenuGroup1 MenuGroup2
                         | MenuItem1                          |


Attachment: menuadv_problem_85a80228.zip

Thirupathi Bala Krishnan [Syncfusion]
Replied On January 27, 2020 08:44 AM UTC

Hi Jakub, 
Thanks for contacting Syncfusion support. 
Please find our response as below, 
I would like to know if it is possible to delete grey background of this control. 
Also How i can change looks of menu bar (MenuGroup1, MenuGroup2 looks exacly)? 
We have analyzed the reported query – “How to change the backcolor value of MenuAdv control?”. You can achieve this requirement by overriding the MenuAdv styles in the xaml file. Then define the Background value for the menu control in the style definition. 
Please refer the following code sample. 
        <Style x:Key="MenuAdvStyle" TargetType="{x:Type syncfusion:MenuAdv}"> 
            <Setter Property="Background" Value="AliceBlue"/> 
            <Setter Property="BorderBrush" Value="White"/> 
            <Setter Property="BorderThickness" Value="1"/> 
            <Setter Property="IsTabStop" Value="False"/> 
            <Setter Property="FontSize" Value="12"/> 
            <Setter Property="Foreground" Value="Black"/> 
            <Setter Property="FontFamily" Value="Calibri"/> 
            <Setter Property="ItemsPanel"> 
                        <StackPanel Orientation="Horizontal"/> 
            <Setter Property="Template"> 
                    <ControlTemplate TargetType="syncfusion:MenuAdv"> 
                        <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"> 
        <Style TargetType="{x:Type syncfusion:MenuAdv}" BasedOn="{StaticResource MenuAdvStyle}"/> 
Also I would like to align left side of MenuItems to right so it would not look so strange. 
We have analyzed the reported query – “How to align the menu items from right side”.  
Please do the following steps in your machine to achieve your requirement.  
  1. Press the Windows key + R to open the run dialog.
  2. Type the below line in the run dialog –
  3. shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
  4. Now Tablet PC Settings configuration dialog opened.
  5. Select the Other Tab.
  6. In the Handedness section, place a check mark in the Left Handed option.
  7. Click OK.
Please refer the following screenshot for your reference.  
Now run and check your application.  
For more details, please refer the following link :  
Sample link: https://www.syncfusion.com/downloads/support/forum/150923/ze/MenuAdv-941462494

Please let us know if you need any further assistance.
Thirupathi B.

Jakub Marcickiewicz
Replied On January 27, 2020 10:26 AM UTC

Thank you for detailed reply.

Padmini Ramamurthy [Syncfusion]
Replied On January 28, 2020 11:04 AM UTC

Hi Jakub, 
You are welcome:) and please get back to us if you need any other assistance. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon