ArcGIS Pro 2.8 API Reference Guide
CommandGenerator Class
Members 

ArcGIS.Desktop.Framework.Converters Namespace : CommandGenerator Class
Implements a value converter that generates an ICommand implementation using reflection.
Syntax
public sealed class CommandGenerator : System.Windows.Data.IValueConverter  
Public NotInheritable Class CommandGenerator 
   Implements System.Windows.Data.IValueConverter 
Remarks
The converter is specified in a binding statement where the input value is the ViewModel-derived class on which the method should be invoked. The ConverterParameter (string) is the name of the method to be invoked. The CommandGenerator class creates a RelayCommand instance. ICommand.CanExecute is implemented if the ViewModel contains a property named CanXXX where XXX is the name of the method.
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Converters.CommandGenerator

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CommandGenerator Members
ArcGIS.Desktop.Framework.Converters Namespace