Play Notes - darklinkpower/PlayniteExtensionsCollection GitHub Wiki

Integration of custom controls in custom themes

Visibility of elements according to extension installation status

Example:

[...]
<Grid Visibility="{PluginStatus Plugin=PlayNotes_4208657d-4f78-42d2-968f-39f24de275e1, Status=Installed}">
[...]

It can also be used to return a bool value if used in another property.

Notes Viewer Control

<ContentControl x:Name="PlayNotes_NotesViewerControl" />

Extension data specific of the selected game

The source name of the plugin is PlayNotes

Setting Type Default Description
IsControlVisible bool false Indicates if the Notes control is visible

Binding example:

[...]
<StackPanel>
    <StackPanel.Style>
        <Style TargetType="StackPanel">
            <Setter Property="Visibility" Value="Collapsed" />
            <Style.Triggers>
                <DataTrigger Binding="{PluginSettings Plugin=PlayNotes, Path=IsControlVisible, FallbackValue=False}" Value="True">
                    <Setter Property="Visibility" Value="Visible" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </StackPanel.Style>
[...]
⚠️ **GitHub.com Fallback** ⚠️