NullableValueConverter

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM.Converters
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public class NullableValueConverter : ValueConverterBase

Base types ValueConverterBase

Converts a value to a representive value for nullable.

Remarks

Resolves problem with databinding with nullables. When textbox hasn’t a value then null is expected as return value.

Methods


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion