c# - Putting a drop shadow on a menu item box -
this first attempt @ creating application, apologies if questions misformed or misplaced.
first question of terminology: when click on 'file' in menu bar , little box appears below options 'quit' , 'save,' what's box called? called 'context menu'?
second: how can put drop shadow on box? i've been tinkering , googling longest time no luck. reason default in visual studio express 2013, @ least i'm using it, seems no shadow, looks pretty odd imo. 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 elsewhere.
Comments
Post a Comment