How to Pass enum as command parameter in Xaml ?

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}" />
Tags :

Leave Your Comment

Liked this content?. Please spread the word :)