Jump to content
LaunchBox Community Forums

Random Game Property Bind


Recommended Posts

We added a bindable property to all filter views called "RandomGame" that is a game picked at random from the currently selected filter. You can use it do display information or media about a random game for the filter currently being hovered over.

So for example you do something like make a dynamic text box that says, "{Binding RandomGame.Title} is a great {Binding RandomGame.Genre} game for the {Binding SelectedPlatform.Name}!" and would display something similar to:
"Adventure is a great adventure game for the Atari 2600!"

The RandomGame property changes when SelectedPlatform (or SelectedFilter) changes so that you can have multiple bindings pointing to the randomly selected game and they all point to the same game.

  • Thanks 1
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.

×
×
  • Create New...