Re: Themes - code snippets
Posted: Thu Jan 17, 2013 8:15 pm
Mmm, my code has got a bit bloated now and I've got a little lost (I started the theme in the pre-WPF days and have kept building on top as and when the codebase has changed). The code for the ParameterWindow is in a file called (funnily enough !) ParameterWindow.xaml and the code is structured pretty differently. When I try increasing the opacity of the LinearGradient Brush is just makes it darker but not transparent - I'm thinking it's kind of working and the overlaid gradient is becoming transparent but the actual dialogue box is opaque and there's a separate control for that.
I tried copying your control.xaml over mine and it didn't actually do anything, so I then tried renaming ParameterWindow.xaml to .xaml.old as clearly the theme was overriding the styles, but it's being called from somewhere (I couldn't find where on any of my other .xamls) so fails if named like that.
I know it's really cheeky but I'm wondering if you could cast your eye over my theme (mainly Parameter.xaml) to see where exactly I'm going wrong. You'll probably groan at my mistakes of coding, but I'm a big of an .xaml beginner
Here's the theme: http://www.ilovecubus.co.uk/pete/cubus_1468.zip
I tried copying your control.xaml over mine and it didn't actually do anything, so I then tried renaming ParameterWindow.xaml to .xaml.old as clearly the theme was overriding the styles, but it's being called from somewhere (I couldn't find where on any of my other .xamls) so fails if named like that.
I know it's really cheeky but I'm wondering if you could cast your eye over my theme (mainly Parameter.xaml) to see where exactly I'm going wrong. You'll probably groan at my mistakes of coding, but I'm a big of an .xaml beginner

Here's the theme: http://www.ilovecubus.co.uk/pete/cubus_1468.zip