#### [Pf2e\.WPF](index.md 'index') ### [Pf2e\.WPF\.EntityViewer\.ViewModel](Pf2e.WPF.EntityViewer.ViewModel.md 'Pf2e\.WPF\.EntityViewer\.ViewModel').[PageNavigationCommand](PageNavigationCommand.md 'Pf2e\.WPF\.EntityViewer\.ViewModel\.PageNavigationCommand') ## PageNavigationCommand\.CanExecute\(object\) Method Проверяет, может ли команда быть выполнена с указанным параметром\. ```csharp public bool CanExecute(object? parameter); ``` #### Parameters `parameter` [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') Параметр команды\. Implements [CanExecute\(object\)](https://learn.microsoft.com/en-us/dotnet/api/system.windows.input.icommand.canexecute#system-windows-input-icommand-canexecute(system-object) 'System\.Windows\.Input\.ICommand\.CanExecute\(System\.Object\)') #### Returns [System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean') Флаг, указывающий, может ли команда быть выполнена\.