ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StlConverter - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StlConverter

    Inheritance
    System.Object
    StlConverter
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved