menu

WPF

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

    Show / Hide Table of Contents

    Class WallThicknessConverter

    Class which represents the wall thickness converter.

    Inheritance
    System.Object
    WallThicknessConverter
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class WallThicknessConverter : TypeConverter

    Constructors

    WallThicknessConverter()

    Declaration
    public WallThicknessConverter()

    Methods

    CanConvertFrom(ITypeDescriptorContext, Type)

    Override CanConvertFrom to return true for String-to-Complex conversions.

    Declaration
    public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    The context value.

    System.Type sourceType

    The source type.

    Returns
    Type Description
    System.Boolean

    The string to complex.

    CanConvertTo(ITypeDescriptorContext, Type)

    Override CanConvertTo to return true for Complex-to-String conversions.

    Declaration
    public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    The context value.

    System.Type destinationType

    The destination type.

    Returns
    Type Description
    System.Boolean

    The complex to string value.

    ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

    Override ConvertFrom to convert from a string to an instance of WallThickness.

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

    The context value.

    System.Globalization.CultureInfo culture

    The culture value.

    System.Object source

    The source value.

    Returns
    Type
    System.Object

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Override ConvertTo to convert from a null to an destination type.

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

    The context value.

    System.Globalization.CultureInfo culture

    The culture value.

    System.Object value

    The value.

    System.Type destinationType

    The destination type.

    Returns
    Type Description
    System.Object

    The argument null exception.

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