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}" />
Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

%d bloggers like this: