PlatformToBooleanConverter

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

Base types ValueConverterBase

Returns a boolean whether the currently executing platform is available.

Methods

Convert(object value, Type targetType, object parameter)

Converts the specified value.

Parameters

Name Description
value The value.
targetType Type of the target.
parameter The parameter.

Returns

System.Object.


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


Discussion