Passing an enum value as command parameter from XAML

Try this

<Button CommandParameter="{x:Static local:SearchPageType.First}" .../>

local – is your namespace reference in the XAML

Leave a Comment