Text Bindings
Written By Brian Faeran
Last updated 5 months ago
Selected vs Active
This documentation shows examples of text and image bindings where ActiveFilter and ActiveGame are being used.
ActiveFilter / ActiveGame
Wait for navigation to complete before updating values.SelectedFilter / SelectedGame
Update immediately upon making a new selection (even during fast navigation).
⚠ Using SelectedFilter / SelectedGame can cause serious performance issues during fast navigation — use sparingly.
Text Binding Properties for Filters Views
Name
This will display the Platform name or the name of the filter value, including Playlist names. This is the recommended text binding to use.
<Label Text="{Binding Path=ActiveFilter.Name}" /> FilterValue
Platform name or the name of the filter value:
<Label Text="{Binding Path=ActiveFilter.FilterValue}" /> FilterType
The name of the Filter Type:
<Label Text="{Binding Path=ActiveFilter.FilterType}" /> Developer
<Label Text="{Binding Path=ActiveFilter.Platform.Developer}" /> Manufacturer
<Label Text="{Binding Path=ActiveFilter.Platform.Manufacturer}" /> ReleaseDate
<Label Text="{Binding Path=ActiveFilter.Platform.ReleaseDate}" /> Add StringFormat to show only the year:
<Label Text="{Binding Path=ActiveFilter.Platform.ReleaseDate, StringFormat='{}{0:yyyy}'}" /> CPU
<Label Text="{Binding Path=ActiveFilter.Platform.Cpu}" /> Memory
<Label Text="{Binding Path=ActiveFilter.Platform.Memory}" /> Graphics
<Label Text="{Binding Path=ActiveFilter.Platform.Graphics}" /> Sound
<Label Text="{Binding Path=ActiveFilter.Platform.Sound}" /> Display
<Label Text="{Binding Path=ActiveFilter.Platform.Display}" /> Media
<Label Text="{Binding Path=ActiveFilter.Platform.Media}" /> MaxControllers
<Label Text="{Binding Path=ActiveFilter.Platform.MaxControllers}" /> Notes
<Label Text="{Binding Path=ActiveFilter.Platform.Notes}" /> TotalGameCount
<Label Text="{Binding Path=ActiveFilter.Platform.TotalGameCount}" /> FilterName
<Label Text="{Binding FilterName}" /> PlatformManufacturer
<Label Text="{Binding PlatformManufacturer}" /> PlatformReleaseDate
<Label Text="{Binding PlatformReleaseDate}" /> NoImageTitle (only appears if the main image for a filter in a wheel does not exist)
<Label Text="{Binding NoImageTitle}" Opacity="{Binding ImageOpacity}" IsVisible="{Binding NoImageTitleVisibility}" /> Text Binding Properties for Games Views
Platform
<Label Text="{Binding Path=ActiveGame.Game.Platform}" /> Developer
<Label Text="{Binding Path=ActiveGame.Game.Developer}" /> Publisher
<Label Text="{Binding Path=ActiveGame.Game.Publisher}" /> ReleaseDate
<Label Text="{Binding Path=ActiveGame.Game.ReleaseDate}" /> Add StringFormat to show only the year:
<Label Text="{Binding Path=ActiveGame.Game.ReleaseDate, StringFormat= '{}{0:yyyy}'}" /> Rating
<Label Text="{Binding Path=ActiveGame.Game.Rating}" /> Star Rating (user)
<Label Text="{Binding Path=ActiveGame.Game.StarRating}" /> Star Rating (community)
<Label Text="{Binding Path=ActiveGame.Game.CommunityStarRating}" /> PlayMode
<Label Text="{Binding Path=ActiveGame.Game.PlayMode}" /> Max Players
<Label Text="{Binding Path=ActiveGame.Game.MaxPlayers}" /> Play Count
<Label Text="{Binding Path=ActiveGame.Game.PlayCount}" /> Genres
<Label Text="{Binding Path=ActiveGame.Game.GenresString}" /> PlayTime — Hours, Minutes, Seconds (e.g., 5 h 31m 27s)
<Label Text="{Binding Path=ActiveGame.Game.PlayTimeHms}" /> Hours only (e.g., 27.5 hours):
<Label Text="{Binding Path=ActiveGame.Game.PlayTimeHours}" /> Seconds only (raw data):
<Label Text="{Binding Path=ActiveGame.Game.PlayTime}" /> Favorite (boolean)
<Label Text="{Binding Path=ActiveGame.Game.Favorite}" /> Broken (boolean)
<Label Text="{Binding Path=ActiveGame.Game.Broken}" /> Completed (boolean)
<Label Text="{Binding Path=ActiveGame.Game.Completed}" /> GameTitle
<Label Text="{Binding GameTitle}" /> GameDeveloperPublisher
<Label Text="{Binding GameDeveloperPublisher}" /> GameReleaseDate
<Label Text="{Binding GameReleaseDate}" /> NoImageTitle
<Label Text="{Binding NoImageTitle}" Opacity="{Binding ImageOpacity}" IsVisible="{Binding NoImageTitleVisibility}" /> MediaDownloadVisibility (boolean)
<Label Text="{Binding Path=MediaDownloadVisibility}" /> VideoDownloadVisibility (boolean)
<Label Text="{Binding Path=VideoDownloadVisibility}" /> BoxFrontMediaDownloading (boolean)
<Label Text="{Binding Path=BoxFrontMediaDownload}" /> TitleScreenshotMediaDownloading (boolean)
<Label Text="{Binding Path=TitleScreenshotMediaDownload}" /> GameplayScreenshotMediaDownloading (boolean)
<Label Text="{Binding Path=GameplayScreenshotMediaDownload}" /> ClearLogoMediaDownloading (boolean)
<Label Text="{Binding Path=ClearLogoMediaDownload}" /> BackgroundMediaDownloading (boolean)
<Label Text="{Binding Path=BackgroundMediaDownload}" />