menu

WPF

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

    Show / Hide Table of Contents

    Class ThicknessConverter

    Inheritance
    System.Object
    ThicknessConverter
    Namespace: Syncfusion.Windows.PropertyGrid
    Assembly: Syncfusion.PropertyGrid.Wpf.dll
    Syntax
    public class ThicknessConverter : TypeConverter

    Constructors

    ThicknessConverter()

    Declaration
    public ThicknessConverter()

    Methods

    CanConvertFrom(ITypeDescriptorContext, Type)

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

    CanConvertTo(ITypeDescriptorContext, Type)

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

    ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

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

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Declaration
    public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    System.Globalization.CultureInfo culture
    System.Object value
    System.Type destinationType
    Returns
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved