c# - Adding drop shadow on a menu item box -


this first attempt @ creating application, apologies if questions misformed or misplaced.

when click on 'file' in menu bar , little box appears below options 'quit' , 'save,' how put drop shadow on box? i've been tinkering , googling longest time no luck. feel i've exhausted options in visual studio , tried various code in xaml. here's relevant xaml:

<menu x:name="menubar" horizontalalignment="stretch" height="27" margin="-20,-36,140.4,0" verticalalignment="top" width="auto" foreground="black" rendertransformorigin="0.5,0" background="#ffe5e5e5">     <menuitem x:name="file" header="file" height="27" width="39" textoptions.texthintingmode="animated" foreground="#ff323334" borderthickness="0" borderbrush="{x:null}" margin="1,0,4,4" padding="6,0">            <menuitem x:name="save" header="save" horizontalalignment="left" width="139.2" click="save_click"/>         <menuitem header="quit" horizontalalignment="left" width="139.2" click="menuitem_click" background="{x:null}" borderbrush="{x:null}" uselayoutrounding="false"/>     </menuitem>  </menu> 

thanks in advance help!

edit: ended getting answer eslewhere

you need create own template

here's link on how ovveride default menuitem style


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -