How to add parameter in button command binding?
By aj li
How to add command parameter in Button?
I used MVVM pattern and I have two button where I need to pass a boolean parameter to the binding command.
<Button
Command="{Binding Path=IsIndividualCommand}"
CommandParameter="True" />
<Button
Command="{Binding Path=IsCompanyCommand}"
CommandParameter="False" />
How to add parameter in button command binding? (838 Views)