Open sandboxFocus

Property CanExecutePatterns

CanExecutePatterns

Gets or sets a list of regular expression patterns that will be evaluated against method and/or property names to identify candidate can-execute members. In this pattern, all occurrences of the substring {CommandName} will be replaced with the command name determined according to CommandNamePattern before the expression is evaluated.

Declaration
public string[]? CanExecutePatterns { get; init; }
Property Value
Type Description
string[]