How to Pass enum as command parameter in Xaml ?


This content was proof-read by Grammarly. You can Try Grammary for FREE

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}" />
%d bloggers like this: