Try this
<Button CommandParameter="{x:Static local:SearchPageType.First}" .../>
local
– is your namespace reference in the XAML
More Related Contents:
- Where is the Application.DoEvents() in WPF?
- How to bind an enum to a combobox control in WPF?
- WPF Application that only has a tray icon
- Bind TextBox on Enter-key press
- Single click edit in WPF DataGrid
- the name does not exist in the namespace clr-namespace
- DataGrid column width doesn’t auto-update
- WPF: The name does not exist in the namespace [duplicate]
- How to sort TreeView items using SortDescriptions in Xaml?
- Error: Must create DependencySource on same Thread as the DependencyObject even by using Dispatcher
- Loading XAML XML through runtime?
- Accessing static fields in XAML
- How do I keep aspect ratio on scalable, scrollable content in WPF?
- How to refer to Embedded Resources from XAML?
- Having HierarchicalDataTemplates in a TreeView
- Could not load file or assembly ‘System.Windows.Interactivity’ [duplicate]
- Storyboards can’t find ControlTemplate elements
- Dynamically loading resource dictionary files to a wpf application gives an error
- Sort a wpf datagrid programmatically
- Select multiple items from a DataGrid in an MVVM WPF project
- using of INotifyPropertyChanged
- ListBox items return string, when DataTemplate is Button
- Using the WPF Dispatcher in unit tests
- The calling thread cannot access this object because a different thread owns it.WPF [duplicate]
- Bind datagrid column visibility MVVM
- Create Key binding in WPF
- How to check the Internet connection with .NET, C#, and WPF
- How to display items in Canvas through Binding
- MyUserControl cannot be the root of a XAML file because it was defined using XAML [duplicate]
- Get the item doubleclick event of listview