TrailerVert Posted Saturday at 05:09 PM Posted Saturday at 05:09 PM Hey guys, trying to add a ply time field to my startup theme. I currently have this in the xml, Is there a way to get it to show, Hours Minutes Seconds like in Launchbox? Text="{Binding SelectedGame.PlayTime}" Quote
JoeViking245 Posted Saturday at 05:22 PM Posted Saturday at 05:22 PM It shows using ActiveGame, but it may work for SelectedGame also. Data Bindings - LaunchBox ActiveGame.PlayTimeHms The selected game’s playtime in “##h ##m ##s” format <TextBlock Text="{Binding Path=ActiveGame.PlayTimeHms}" Foreground="White" /> 1 Quote
TrailerVert Posted Saturday at 05:45 PM Author Posted Saturday at 05:45 PM 21 minutes ago, JoeViking245 said: <TextBlock Text="{Binding Path=ActiveGame.PlayTimeHms}" Foreground="White" /> Thanks JoeViking! it didn't seem to like ActiveGame but just adding the "Hms" fixed it. Like this.... Text="{Binding SelectedGame.PlayTimeHms} THANK YOU 1 Quote
JoeViking245 Posted Saturday at 06:43 PM Posted Saturday at 06:43 PM 47 minutes ago, TrailerVert said: it didn't seem to like ActiveGame That's kind of what I figured. 47 minutes ago, TrailerVert said: but just adding the "Hms" fixed it. That's exactly what I hoped. Glad [in the end] it works. Be sure to read through all the other cool Data Bindings in The LaunchBox Strategy Guide link I gave above. You might find something you never knew you wanted to add to your theme. 1 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.