Click or drag to resize

RelayValueCommandTParameter, TValue Class

Inheritance Hierarchy
SystemObject
  Eto.FormsRelayCommandTParameter
    Eto.FormsRelayValueCommandTParameter, TValue
      Eto.FormsRelayValueCommandTValue

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class RelayValueCommand<TParameter, TValue> : RelayCommand<TParameter>, 
	IValueCommand<TValue>, ICommand

Type Parameters

TParameter

[Missing <typeparam name="TParameter"/> documentation for "T:Eto.Forms.RelayValueCommand`2"]

TValue

[Missing <typeparam name="TValue"/> documentation for "T:Eto.Forms.RelayValueCommand`2"]

The RelayValueCommandTParameter, TValue type exposes the following members.

Constructors
  NameDescription
Public methodRelayValueCommandTParameter, TValue
Initializes a new instance of the RelayValueCommandTParameter, TValue class.
Top
Methods
  NameDescription
Public methodGetValue
Gets the value.
Protected methodOnValueChanged
Raises the ValueChanged event.
Public methodSetValue
Sets the value.
Public methodUpdateValue
Signals that the value has been updated and the delegate to get the value should be called.
Top
Events
  NameDescription
Public eventValueChanged
Event to signal to the control/widget that the value has been changed.
Top
Remarks
This can be used to delegate the getting/setting of the value to separate methods. Call UpdateValue to signal that the value has changed.
See Also