Class StringObjectConverter
Inheritance
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class StringObjectConverter : TypeConverter
Constructors
StringObjectConverter()
Declaration
public StringObjectConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Overrides the ConvertFrom method of TypeConverter.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext itdContext, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | itdContext | It accepts the ITypeDescriptorContext and display |
System.Type | type | It accepts the Type and display |
Returns
Type | Description |
---|---|
System.Boolean | It returns the Boolean |
CanConvertTo(ITypeDescriptorContext, Type)
Overrides the ConvertTo method of TypeConverter.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext itdContext, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | itdContext | It accepts the ITypeDescriptorContext and display |
System.Type | type | It accepts the Type and display |
Returns
Type | Description |
---|---|
System.Boolean | It returns the Boolean |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
The ConvertFrom method of TypeConverter.
Declaration
public override object ConvertFrom(ITypeDescriptorContext itdContext, CultureInfo cultureInfo, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | itdContext | It accepts the ITypeDescriptorContext and display |
System.Globalization.CultureInfo | cultureInfo | It accepts the CultureInfo and display |
System.Object | value | It accepts the Object and display |
Returns
Type | Description |
---|---|
System.Object | It returns the Object |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
The ConvertTo method of TypeConverter.
Declaration
public override object ConvertTo(ITypeDescriptorContext itdContext, CultureInfo cultureInfo, object value, Type type)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | itdContext | It accepts the ITypeDescriptorContext and display |
System.Globalization.CultureInfo | cultureInfo | It accepts the CultureInfo and display |
System.Object | value | It accepts the Object and display |
System.Type | type | It accepts the Type and display |
Returns
Type | Description |
---|---|
System.Object | It returns the Object |
IsValid(ITypeDescriptorContext, Object)
Returns the value as valid or invalid.
Declaration
public override bool IsValid(ITypeDescriptorContext itdContext, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | itdContext | It accepts the ITypeDescriptorContext and display |
System.Object | value | It accepts the Object and display |
Returns
Type | Description |
---|---|
System.Boolean | It returns the Boolean |