Click or drag to resize

IValueConverterConvert Method

Converts the value to the specified targetType

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
Object Convert(
	Object value,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

value
Type: SystemObject
Value to convert
targetType
Type: SystemType
Type to convert the value to
parameter
Type: SystemObject
Context-specific parameter passed from the binding
culture
Type: System.GlobalizationCultureInfo
Culture to convert with

Return Value

Type: Object
A converted value with the type of targetType.
Remarks
This is called when translating the value from the source to the destination, usually from the Control to the View Model.
See Also