Table of Contents

Method GetTypeConverter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetTypeConverter(Type, bool?, CultureInfo?)

Gets TypeConverter object for the specified type.

public virtual TypeConverter? GetTypeConverter(Type type, bool? toString = true, CultureInfo? culture = null)

Parameters

type Type

Type.

toString bool?

Whether conversion is from object to string. If not Null, type converter is quieried whether it can convert to/from string. If Null, no such check is performed.

culture CultureInfo

Optional CultureInfo object used to create TypeConverter instance.

Returns

TypeConverter