Jump to content
LaunchBox Community Forums

quick fix for my themes code


avaris
 Share

Recommended Posts

hey, looking for quick assistance with my themes code, i'm very unfamiliar with coding in general but im on my way of learning.

The code below works perfectly but what i'm missing is for it to type out  "Never" if there is no LastPlayedDate. I'm sure this is super simple but just couldn't find any way of typing it out correctly. 

<TextBlock Text="{Binding Path=SelectedGame.LastPlayedDate, StringFormat=yyyy-M-dd l H:mm}" />

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...