다음을 통해 공유


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
System.Object
FlexDirectionTypeConverter
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()

Creates a new default converter.

Methods

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)
Obsolete.

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)
Obsolete.

Calls ConvertFrom(CultureInfo, Object) with the current culture information and o.

(Inherited from TypeConverter)
ConvertFromInvariantString(String)

Returns the object for the string representation.

Applies to