expression blend - Editing background of a template on the story board during an event trigger turns background black -


so, having odd behavior. maybe it's intentional, can't seem figure out. haven't worked in blend , prior been coding xaml manually. trying create custom template menuitem , when it's being moused over, need turn background specific color. so, i'm doing mouseenter event trigger on outerborder. when try change color, no matter color set as, turns black immediately. happens on of control in template, regardless 1 choose. so, have manually go xaml , change specific color.

after set specific color within xaml code, if try change through properties menu, it'll turn color set in code.

if export template resourcedictionary, lets me edit if nothing wrong occurring, when template applied, default background of menuitem control turns black.

by way, blend visual studio 2013.

any ideas what's going on?

what ended doing not creating separate trigger , instead edited template's existent triggers. worked great. concern default 1 did not fill, fail see how there conflict between two. not sure if knows?

figured out. silly me. trying change background didn't exist. so, had create background storyboard, , setting default black. did create background , set it's opacity 0% , change instead. worked intended.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -