Hi, Im using Prism + Wpf and trying to get the commanding to work on a button i have placed in the panel bar using a datatemplete. Here is a copy of the datatemplate:
<DataTemplate x:Key="RadPanelBarItemTemplate">
<StackPanel Orientation="Vertical" Margin="1" HorizontalAlignment="Left">
<Button Width="140" Height="25" Margin="2"
Tag="{Binding Tag}"
Content="{Binding Title}"
ToolTip="{Binding Description}"
commands:Click.Command="{Binding NavigationBarClickCommand}"
commands:Click.CommandParameter="{Binding Tag}"/>
</StackPanel>
</DataTemplate>
Is this possible, at the moment my command is never getting fired. Or should I be using a different approach?
Thanks, Mark