Xamarin.Forms Guides | Samples

Xamarin.Forms.ConstraintTypeConverter Class

A TypeConverter that converts from strings to a Constraint.

See Also: ConstraintTypeConverter

Syntax

public class ConstraintTypeConverter : TypeConverter

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.ConstraintTypeConverter are listed below.

See Also: TypeConverter

Public Constructors

Creates a new ConstraintTypeConverter with default values.

Public Methods

override
CanConvertFrom(Type) : Boolean
Returns a Boolean value that indicates whether this ConstraintTypeConverter can convert the sourceType to a Constraint instance.
override
ConvertFrom(CultureInfo, Object) : Object
Converts value into a Constraint by using the specified culture.
override
ConvertFromInvariantString(String) : Object
>Converts value into a Constraint.