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
)
Public Function Convert (
converter As IValueConverter,
propertyType As Type,
Optional conveterParameter As Object = Nothing,
Optional culture As CultureInfo = Nothing
) As IndirectBinding(Of Object)
member Convert :
converter : IValueConverter *
propertyType : Type *
?conveterParameter : Object *
?culture : CultureInfo
(* Defaults:
let _conveterParameter = defaultArg conveterParameter null
let _culture = defaultArg culture null
*)
-> IndirectBinding<Object>
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:
IndirectBindingObjectA new binding that will be converted using the specified IValueConverter.
See Also