Click or drag to resize

IValueCommandT Interface

Interface for a command that can provide a value

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public interface IValueCommand<T> : ICommand

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.IValueCommand`1"]

The IValueCommandT type exposes the following members.

Methods
  NameDescription
Public methodGetValue
Gets the current value in the command.
Public methodSetValue
Sets the value in the command from the control.
Top
Events
  NameDescription
Public eventValueChanged
Event to signal to the control/widget that the value has been changed.
Top
Remarks
Some controls can provide a value, which can be difficult to get via the command when the value changes. This inteface allows you to extend your command to allow getting and setting a value of any type and have an event when the value changes programatically.
See Also