Open sandboxFocus

Property EnableINotifyPropertyChangedIntegration

EnableINotifyPropertyChangedIntegration

Gets or sets a value indicating whether integration with INotifyPropertyChanged is enabled. The default is true.

Declaration
public bool EnableINotifyPropertyChangedIntegration { get; init; }
Property Value
Type Description
bool
Remarks

When EnableINotifyPropertyChangedIntegration is true (the default), and when a can-execute property (not a method) is used, and when the containing type of the target property implements INotifyPropertyChanged,then the CanExecuteChanged event of the command will be raised when the can-execute property changes. A warning is reported if the can-execute property is not public because INotifyPropertyChanged implementations typically only notify changes to public properties.

When this property is not set, the value configured with the ConfigureCommand(IQuery<ICompilation>, Action<CommandOptionsBuilder>) method or its overloads applies.