Click or drag to resize

IndirectBindingTConvert Method (IValueConverter, Type, Object, CultureInfo)

Converts the binding using the specified converter object.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public IndirectBinding<Object> Convert(
	IValueConverter converter,
	Type propertyType,
	Object conveterParameter = null,
	CultureInfo culture = null
)

Parameters

converter
Type: Eto.FormsIValueConverter
Converter object to use when converting to/from the value
propertyType
Type: SystemType
Type for the converter to convert to
conveterParameter (Optional)
Type: SystemObject
Parameter to pass to the converter.
culture (Optional)
Type: System.GlobalizationCultureInfo
Culture to use for conversion, null to use invariant culture.

Return Value

Type: IndirectBindingObject
A new binding that will be converted using the specified IValueConverter.
See Also