IndirectBindingTConvertTValue Method (IValueConverter, 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<TValue> Convert<TValue>(
IValueConverter converter,
Object conveterParameter = null,
CultureInfo culture = null
)
Public Function Convert(Of TValue) (
converter As IValueConverter,
Optional conveterParameter As Object = Nothing,
Optional culture As CultureInfo = Nothing
) As IndirectBinding(Of TValue)
member Convert :
converter : IValueConverter *
?conveterParameter : Object *
?culture : CultureInfo
(* Defaults:
let _conveterParameter = defaultArg conveterParameter null
let _culture = defaultArg culture null
*)
-> IndirectBinding<'TValue>
Parameters
- converter
- Type: Eto.FormsIValueConverter
Converter object to use when converting to/from the value - 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.
Type Parameters
- TValue
[Missing <typeparam name="TValue"/> documentation for "M:Eto.Forms.IndirectBinding`1.Convert``1(Eto.Forms.IValueConverter,System.Object,System.Globalization.CultureInfo)"]
Return Value
Type:
IndirectBindingTValueA new binding that will be converted using the specified IValueConverter.
See Also