ethoronath Posted December 1, 2018 Posted December 1, 2018 Hi all, I try show in my theme two images, "Screenshot - Game Title" and "Screenshot - Gameplay" This is my code..... I know that "Path=ActiveGame.ScreenshotGameplayImagePath" it's not correct, and it's correct "Path=ActiveGame.ScreenshotImagePath" but It's posible show the 2 images at time??? Spoiler <!-- IMAGE TITLE START --> <Image x:Name="ImageTitle" Grid.Column="12" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill" Panel.ZIndex="2" > </Image> <!-- IMAGE TITLE END --> <!-- IMAGE SCREEN START --> <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotGameplayImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill" Panel.ZIndex="2" /> <!-- IMAGE SCREEN END --> Quote
ethoronath Posted December 3, 2018 Author Posted December 3, 2018 nothing?? This is the problem.... Quote
Jason Carr Posted December 3, 2018 Posted December 3, 2018 @ethoronath Very nice; that theme is looking really great. It looks like you'll need a way to specifically retrieve "Screenshot - Game Title" and "Screenshot - Gameplay" images from the XAML, which I don't think exists yet, sadly. It could certainly be done with a plugin, but otherwise it looks like I'll have to code something in for it. The existing "ScreenshotImagePath" property just returns a random screenshot from the game, and doesn't restrict the type of screenshot. I can add something in, but then it won't be widely available until the next release. Do you still want me to tackle that? Quote
ethoronath Posted December 4, 2018 Author Posted December 4, 2018 Thanks, I have solved it putting the Screenshot - Game Play in the folder Banner, and using this line of code. <!-- IMAGE SCREEN START --> <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.BannerImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Fill" Panel.ZIndex="2" /> <!-- IMAGE SCREEN END --> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.