Freigeben über


FlowDirectionConverter Class

Definition

Converts a string representation of a flow direction to a FlowDirection.

[Xamarin.Forms.Xaml.TypeConversion(typeof(Xamarin.Forms.FlowDirection))]
public class FlowDirectionConverter : Xamarin.Forms.TypeConverter
type FlowDirectionConverter = class
    inherit TypeConverter
Inheritance
System.Object
FlowDirectionConverter
Attributes

Remarks

This converter recognizes and converts string representations of the FlowDirection enumeration, as well as the following strings, regardless of case: "ltr", "rtl", and "inherit".

Constructors

FlowDirectionConverter()

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