Changes
DataContext="{Binding}"
Command="{Binding DisplayViewCommand}">
<Button.CommandParametersCommandParameter>
<controls:KeyValueList>
<controls:KeyValueParameter Key="TemplateName" Value="SomeRandomView" />
<controls:KeyValueParameter Key="TemplateDataContext" Value="{Binding DataContext.Properties.AllItems[FINISHED].Content, ElementName=SomeRandomButton}" />
</controls:KeyValueList>
</Button.CommandParametersCommandParameter>
</Button>
</source>
BindingContext="{Binding}"
Command="{Binding DisplayViewCommand}">
<Button.CommandParametersCommandParameter>
<classes:KeyValueList>
<classes:KeyValueParameter Key="TemplateName" Value="SomeRandomView" />
<classes:KeyValueParameter Key="TemplateDataContext" Value="{Binding BindingContext.Properties.AllItems[FINISHED].Content, Source={x:Reference SomeRandomButton}}" />
</classes:KeyValueList>
</Button.CommandParametersCommandParameter>
</Button>
</source>
[[Category:Client|Custom View (Client)]]
[[Category:Version 1.1|Custom View (Client)]]
[[Category:Version 3.8|Custom View (Client)]]
[[Category:WinX|Custom View (Client)]]
[[Category:Xamarin|Custom View (Client)]]