次の方法で共有


FontSizeConverter Class

Definition

Converts a string into a font size.

[Xamarin.Forms.Xaml.TypeConversion(typeof(System.Double))]
public class FontSizeConverter : Xamarin.Forms.TypeConverter, Xamarin.Forms.IExtendedTypeConverter
type FontSizeConverter = class
    inherit TypeConverter
    interface IExtendedTypeConverter
Inheritance
System.Object
FontSizeConverter
Attributes
Implements

Constructors

FontSizeConverter()

Initializes a new FontSizeConverter object.

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 string representation of a font size into a font size.

Explicit Interface Implementations

IExtendedTypeConverter.ConvertFrom(CultureInfo, Object, IServiceProvider)
Obsolete.

For internal use only.

IExtendedTypeConverter.ConvertFromInvariantString(String, IServiceProvider)

For internal use only.

Applies to