Xamarin.Forms Guides | Samples

Xamarin.Forms.IValueConverter

Interface defining methods for two-way value conversion between types.

See Also: IValueConverter

Syntax

public interface IValueConverter

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.IValueConverter are listed below.

Public Methods

Convert(Object, Type, Object, CultureInfo) : Object
Implement this method to convert value to targetType by using parameter and culture.
ConvertBack(Object, Type, Object, CultureInfo) : Object
Implement this method to convert value back from targetType by using parameter and culture.