Header menu logo Fittings

Command Type

A command that optionally hooks into CommandManager.RequerySuggested to automatically trigger CanExecuteChanged whenever the CommandManager detects conditions that might change the output of canExecute. It's necessary to use this feature for command bindings where the CommandParameter is bound to another UI control (e.g. a ListView.SelectedItem).

Constructors

Constructor Description

Command(actionToExecute, canExecute, autoRequery)

Full Usage: Command(actionToExecute, canExecute, autoRequery)

Parameters:
    actionToExecute : obj -> unit
    canExecute : obj -> bool
    autoRequery : bool

Returns: Command
actionToExecute : obj -> unit
canExecute : obj -> bool
autoRequery : bool
Returns: Command

Instance members

Instance member Description

this.CanExecute

Full Usage: this.CanExecute

Parameters:
    p : obj

Returns: bool
p : obj
Returns: bool

this.CanExecuteChanged

Full Usage: this.CanExecuteChanged

Returns: IEvent<EventHandler, EventArgs>

this.Execute

Full Usage: this.Execute

Parameters:
    p : obj

p : obj

this.RaiseCanExecuteChanged

Full Usage: this.RaiseCanExecuteChanged

Type something to start searching.