#### [Pf2e\.Scrapper](index.md 'index') ### [Pf2e\.Scrapper\.WPF\.EntityViewer\.EntityViewStructure](Pf2e.Scrapper.WPF.EntityViewer.EntityViewStructure.md 'Pf2e\.Scrapper\.WPF\.EntityViewer\.EntityViewStructure').[CollapseCommand](CollapseCommand.md 'Pf2e\.Scrapper\.WPF\.EntityViewer\.EntityViewStructure\.CollapseCommand') ## CollapseCommand\.Execute\(object\) Method Выполняет команду с указанным параметром\. ```csharp public void Execute(object? parameter); ``` #### Parameters `parameter` [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') Параметр, передаваемый команде\. Implements [Execute\(object\)](https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Input.ICommand.Execute#System_Windows_Input_ICommand_Execute_System_Object_ 'System\.Windows\.Input\.ICommand\.Execute\(System\.Object\)')