Class IntCollectionConverter
Converts a string that represent a list of ints to an observable collection of ints. The integers in the string must be separated with a comma, for example "10, 20, 50".
Inheritance
System.Object
IntCollectionConverter
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class IntCollectionConverter : TypeConverter
Constructors
IntCollectionConverter()
Declaration
public IntCollectionConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
sourceType
|
Returns
System.Boolean
|
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
destinationType
|
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
Returns
System.Object
|
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
System.Type
destinationType
|
Returns
System.Object
|