menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StringToImageTypeConverter - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StringToImageTypeConverter

    Converter class that converts string type into image type.

    Inheritance
    System.Object
    StringToImageTypeConverter
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public sealed class StringToImageTypeConverter : TypeConverter

    Constructors

    StringToImageTypeConverter()

    Declaration
    public StringToImageTypeConverter()

    Methods

    ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

    Converts the System.String object to the System.Globalization.CultureInfo.

    Declaration
    public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    Do not used.

    System.Globalization.CultureInfo culture

    do not used.

    System.Object value

    The System.String object to convert.

    Returns
    Type Description
    System.Object

    The converted value.

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Converts the given value object to the specified type, using the specified context and culture information.

    Declaration
    public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    A System.ComponentModel.ITypeDescriptorContext that provides a format context.

    System.Globalization.CultureInfo culture

    A System.Globalization.CultureInfo.

    System.Object value

    The ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).

    System.Type destinationType

    The System.Type to convert the value parameter to.

    Returns
    Type Description
    System.Object

    The converted value.

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