Düzenle

Aracılığıyla paylaş


FontSizeConverter.ConvertFrom Method

Definition

Converts a specified type to a Double.

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

Parameters

context
ITypeDescriptorContext

Context information of a component such as its container and PropertyDescriptor.

culture
CultureInfo

Cultural specific information, including the writing system and calendar used.

value
Object

The value which is being converted to a font size value.

Returns

A Double value that represents the converted font size value.

Applies to