Share via


TextDecorationConverter Class

Definition

A TypeConverter subclass that can convert between a string and a TextDecorations object.

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

Constructors

TextDecorationConverter()

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)

Converts a single value or comma-separated string to a TextDecorations object.

Applies to