FsXaml


EventToCommand

Namespace: FsXaml

Constructors

ConstructorDescription
new()
Signature: unit -> EventToCommand

CompiledName: .ctor

Instance members

Instance memberDescription
Command()
Signature: unit -> ICommand

The ICommand

CompiledName: set_Command

Command()
Signature: unit -> unit

The ICommand

CompiledName: get_Command

CommandParameter()
Signature: unit -> obj

The paramter passed to the ICommand. If this is set, the EventArgs are ignored

CompiledName: set_CommandParameter

CommandParameter()
Signature: unit -> unit

The paramter passed to the ICommand. If this is set, the EventArgs are ignored

CompiledName: get_CommandParameter

EventArgsConverter()
Signature: unit -> IEventArgsConverter

The optional converter used to convert the EventArgs into another type for passing to the ICommand's parameter. This allows strong typed conversion while preventing the ViewModel from requiring a hard binding to WPF

CompiledName: set_EventArgsConverter

EventArgsConverter()
Signature: unit -> unit

The optional converter used to convert the EventArgs into another type for passing to the ICommand's parameter. This allows strong typed conversion while preventing the ViewModel from requiring a hard binding to WPF

CompiledName: get_EventArgsConverter

EventArgsConverterParameter()
Signature: unit -> obj

The converter used to map the EventArgs of the command to the VM

CompiledName: set_EventArgsConverterParameter

EventArgsConverterParameter()
Signature: unit -> unit

The converter used to map the EventArgs of the command to the VM

CompiledName: get_EventArgsConverterParameter

PassEventArgsToCommand()
Signature: unit -> bool

Boolean indicating whether the EventArgs passed to the event handler will be forwarded to the ICommand's Execute method when the event is fired. The EventArgsConverterParameter will get used to map the types across as needed

CompiledName: set_PassEventArgsToCommand

PassEventArgsToCommand()
Signature: unit -> unit

Boolean indicating whether the EventArgs passed to the event handler will be forwarded to the ICommand's Execute method when the event is fired. The EventArgsConverterParameter will get used to map the types across as needed

CompiledName: get_PassEventArgsToCommand

ToggleIsEnabled()
Signature: unit -> bool

Boolean indicating whether to toggle the enabled value of the associated control based on the ICommand's CanExecute state

CompiledName: set_ToggleIsEnabled

ToggleIsEnabled()
Signature: unit -> unit

Boolean indicating whether to toggle the enabled value of the associated control based on the ICommand's CanExecute state

CompiledName: get_ToggleIsEnabled

Static members

Static memberDescription
CommandParameterProperty
Signature: DependencyProperty

The paramter passed to the ICommand. If this is set, the EventArgs are ignored

CompiledName: get_CommandParameterProperty

CommandProperty
Signature: DependencyProperty

The ICommand

CompiledName: get_CommandProperty

EventArgsConverterParameterProperty
Signature: DependencyProperty

The converter parameter used to map the EventArgs of the command to the VM

CompiledName: get_EventArgsConverterParameterProperty

EventArgsConverterProperty
Signature: DependencyProperty

The converter used to map the EventArgs of the command to the VM

CompiledName: get_EventArgsConverterProperty

Fork me on GitHub