Class StlConverter
Inheritance
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class StlConverter : TypeConverter
Constructors
StlConverter()
Declaration
public StlConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Overrides the ConvertTo method of TypeConverter.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | It accepts ITypeDescriptorContext |
System.Type | sourceType | It accepts Type |
Returns
Type | Description |
---|---|
System.Boolean | The method returns a Boolean. |
CanConvertTo(ITypeDescriptorContext, Type)
Overrides the ConvertTo method of TypeConverter.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | It accepts Object and displays |
System.Type | destinationType | It accepts Object and displays |
Returns
Type | Description |
---|---|
System.Boolean | It returns the Boolean |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
The ConvertFrom method of TypeConverter.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | It accepts ITypeDescriptorContext |
System.Globalization.CultureInfo | culture | It accepts CultureInfo |
System.Object | value | It accepts Object |
Returns
Type | Description |
---|---|
System.Object | The method returns a Object. |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Overrides the ConvertTo method of TypeConverter.
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | It accepts the ITypeDescriptorContext and display |
System.Globalization.CultureInfo | culture | It accepts the CultureInfo and display |
System.Object | value | It accepts the Object and display |
System.Type | destinationType | It accepts the Type and display |
Returns
Type | Description |
---|---|
System.Object | It returns the Object |
FromInt(String)
To remove the empty entries from the list of Int.
Declaration
public static List<int> FromInt(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the Integer and display |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | It return the Interger |
FromString(String)
To remove the empty entries from the list of String.
Declaration
public static List<string> FromString(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts the String and displays |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | It return String |