FlexDirectionTypeConverter FlexDirectionTypeConverter Class

Definition

Converts a string representation of a row or column flex layout direction to a FlexDirection.

[Xamarin.Forms.Xaml.TypeConversion(typeof(Xamarin.Forms.FlexDirection))]
public class FlexDirectionTypeConverter : Xamarin.Forms.TypeConverter
type FlexDirectionTypeConverter = class
    inherit TypeConverter
Inheritance
FlexDirectionTypeConverterFlexDirectionTypeConverter
Attributes

Remarks

This converter recognizes and converts string representations of the FlexDirection enumeration, as well as the following strings, regardless of case: "row-reverse" or "column-reverse".

Constructors

FlexDirectionTypeConverter() FlexDirectionTypeConverter()

Creates a new default converter.

Methods

CanConvertFrom(Type) CanConvertFrom(Type)

When implemented in a derived class, returns a Boolean value that indicates whether or not the derived type converter can convert sourceType to its target type.

(Inherited from TypeConverter)
ConvertFrom(CultureInfo, Object) ConvertFrom(CultureInfo, Object)

When implemented in a derived class, converts an object that is a version of value and that can be cast to the target type.

(Inherited from TypeConverter)
ConvertFrom(Object) ConvertFrom(Object)

Calls Xamarin.Forms.TypeConverter.ConvertFrom(System.Globalization.CultureInfo, object) with the current culture information and o.

(Inherited from TypeConverter)
ConvertFromInvariantString(String) ConvertFromInvariantString(String)

Returns the object for the string representation.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to