-
-
Notifications
You must be signed in to change notification settings - Fork 2
Addition in a custom theme
Lacro59 edited this page Sep 4, 2024
·
5 revisions
You can see a example with https://github.com/Lacro59/playnite-defaultextend-theme.
Differents resources disponible with PluginSettings
The SourceName for the plugin is CheckDlc
CustomOption | Type | Default | Description |
---|---|---|---|
EnableIntegrationButton | bool | true | Parameters to display or not the plugin button. |
EnableIntegrationListDlcAll | bool | true | Settings to display or not list with all DLC. |
EnableIntegrationListDlcOwned | bool | true | Settings to display or not list with only owned DLC. |
EnableIntegrationListDlcNotOwned | bool | true | Settings to display or not list with only not owned DLC. |
CustomOption | Type | Default | Description |
---|---|---|---|
HasData | bool | false | Indicates if the game has data. |
ListDlcs | List | List.Empty | details |
Integration of plugin elements with ContentControl
<StackPanel Visibility="{PluginStatus Plugin=<PluginId>, Status=Installed}">
</StackPanel>
If the item is not enabled in the plugin settings, it is collapsed.
<StackPanel Visibility="{Binding ElementName=<SourceName>_<ElementName>, Path=Visibility}">
</StackPanel>
<ContentControl x:Name="CheckDlc_PluginButton" />
<ContentControl x:Name="CheckDlc_PluginListDlcAll" Height="300" />
<ContentControl x:Name="CheckDlc_PluginListDlcOwned" Height="300" />
<ContentControl x:Name="CheckDlc_PluginListDlcNotOwned" Height="300" />