Search Results for

    Show / Hide Table of Contents

    Interface IAsyncRelayCommand

    Inherited Members
    IAsyncRelayCommandCommon.IsExecuting
    IAsyncRelayCommandCommon.CanBeCanceled
    IAsyncRelayCommandCommon.IsCancelled
    IAsyncRelayCommandCommon.IsPendingCancelled
    IAsyncRelayCommandCommon.HasPending
    IAsyncRelayCommandCommon.PendingCount
    IAsyncRelayCommandCommon.CurrentCancellationToken
    IAsyncRelayCommandCommon.CancelAll()
    IAsyncRelayCommandCommon.CancelAll(Boolean)
    IAsyncRelayCommandCommon.CancelExecuting()
    IAsyncRelayCommandCommon.CancelExecuting(Boolean)
    IAsyncRelayCommandCommon.CancelPending()
    IAsyncRelayCommandCommon.CancelPending(Boolean)
    IAsyncRelayCommandCommon.CanExecute()
    IAsyncRelayCommandCommon.ExecuteAsync()
    IAsyncRelayCommandCommon.ExecuteAsync(CancellationToken)
    IAsyncRelayCommandCommon.ExecuteAsync(TimeSpan)
    IAsyncRelayCommandCommon.ExecuteAsync(TimeSpan, CancellationToken)
    IAsyncRelayCommandCommon.InvalidateCommand()
    ICommand.CanExecute(Object)
    ICommand.Execute(Object)
    ICommand.CanExecuteChanged
    INotifyPropertyChanged.PropertyChanged
    Namespace: BionicCode.Utilities.Net
    Assembly: BionicCode.Utilities.Net.Wpf.dll
    Syntax
    public interface IAsyncRelayCommand : IAsyncRelayCommandCommon, ICommand, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    IsCommandManagerRequerySuggestedEnabled

    Controls whether the command's CanExecuteChanged is attached to the RequerySuggested event.

    Declaration
    bool IsCommandManagerRequerySuggestedEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    true to attach the CanExecuteChanged is attached to the RequerySuggested event.
    The default is true.

    Remarks

    If the IsCommandManagerRequerySuggestedEnabled property is set to true, calling the InvalidateRequerySuggested() method will also raise the CanExecuteChanged event.
    This is the default behavior. InvalidateRequerySuggested() is regularly invoked by the framework to keep UI elemnts, that implement ICommandSource (like the Button control) and listen to the CanExecuteChanged event, updated.
    When the IsCommandManagerRequerySuggestedEnabled property ios set to false, the CanExecuteChanged must be raised explicitly by calling the InvalidateCommand() method.

    Extension Methods

    HelperExtensionsCommon.ToDictionary(Object)
    HelperExtensionsCommon.ToFlatDictionary(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX