-
-
Notifications
You must be signed in to change notification settings - Fork 31
Review Viewer
Brandon edited this page Jan 7, 2023
·
5 revisions
Display Steam reviews in compatible themes
Only Steam games or games with a Steam store link are supported by the extension.
Full integration tutorial for theme developers is available in the Playnite documentation: https://playnite.link/docs/devel/tutorials/themes/extensionIntegration.html
Example:
[...]
<Grid Visibility="{PluginStatus Plugin=Review_Viewer_ca24e37a-76d9-49bf-89ab-d3cba4a54bd1, Status=Installed}">
[...]
It can also be used to return a bool
value if used in another property.
<ContentControl x:Name="ReviewViewer_ReviewsControl" />
The source name of the plugin is ReviewViewer
Setting | Type | Default | Description |
---|---|---|---|
ReviewsAvailable | bool | false | Indicates if the Reviews Viewer control is visible and available for the current game. The control will be made visible for Steam games and PC games |
Binding example:
[...]
<StackPanel>
<StackPanel.Style>
<Style TargetType="StackPanel">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<DataTrigger Binding="{PluginSettings Plugin=ReviewViewer, Path=IsControlVisible, FallbackValue=False}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</StackPanel.Style>
[...]
Localization strings can be used in themes when the extension is installed.
To check available strings refer to: https://github.com/darklinkpower/PlayniteExtensionsCollection/blob/master/source/Generic/ReviewViewer/Localization/en_US.xaml
Example:
<Label Content="{DynamicResource LOCReview_Viewer_ReviewsLabel}"/>