Below is a sample code snippet demonstrating how to pass enum as command parameter in Xaml.
How to Pass enum as command parameter in Xaml ?
<Button CommandParameter="{x:Static local:EmployeeType.ContractEmployee}" />
Below is a sample code snippet demonstrating how to pass enum as command parameter in Xaml.
<Button CommandParameter="{x:Static local:EmployeeType.ContractEmployee}" />
Leave a Reply