![]() |
Very Newbie to Xaml - various informations for custom theme - Printable Version +- Playnite Forums (https://playnite.link/forum) +-- Forum: Development (https://playnite.link/forum/forum-10.html) +--- Forum: Themes (https://playnite.link/forum/forum-9.html) +--- Thread: Very Newbie to Xaml - various informations for custom theme (/thread-591.html) |
Very Newbie to Xaml - various informations for custom theme - 3XistencE - 02-18-2021 Hi at all, First of all i wish to thank you for your wonderful work in order to create playnite. I'm trying to create a custom theme using the default and changing things but i have some kind of problems to figure out some stuff also using the microsoft xaml guide and playnite sdk pages. I wanted to change the behavior of the gamelist (for that i think i did right watching the file /DerivedStyles/ListGameItem.xaml I can see the part where it applies the border effects and scale the image when focused, and darker the image when the value in the options is set to true but i can't really manage to add also an opacity effect for the notfocused elements (doesn't matter right now if in darker mode or normal one). I suppose i need to add some information in the scale event as scale the image by adding another doubleanimation(so i can write down the opacity) but seems that doesn't work: <DoubleAnimation Storyboard.TargetName="ListBoxItem" Storyboard.TargetProperty="Opacity" From="0.4" To="1" Duration="0:0:0.1"/> what did i miss? it's the TargetName incorrect? Another thing i'm actually trying to do (and it kind of works but with some problems) is to use the EventTriggers in order to create a better experience. I'm not very cleaver with those Events, i tried to create something everytime the user goes in the gameoptionsmenu but it work only once (i used the Eventtrigger about textblock.Loaded There is some particular eventtrigger in order to make the actions works everytime the user will check the gameoptionsmenu (as i said because right now it works only once, the first time and after that it will not perform the actions) Thanks for any reply RE: Very Newbie to Xaml - various informations for custom theme - DonkeyOatay - 02-18-2021 Come along to the Discord and post there - you're likely to get a lot more response than here on the forums, which is used more for links to extensions and themes |