menu

WinForms

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

    Show / Hide Table of Contents

    Class FieldDescriptorTypeConverter

    The type converter for FieldDescriptor objects. FieldDescriptorTypeConverter is a DescriptorBaseConverter. It overrides the default behavior of the ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) method and adds support for design-time code serialization.

    Inheritance
    System.Object
    DescriptorBaseConverter
    FieldDescriptorTypeConverter
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class FieldDescriptorTypeConverter : DescriptorBaseConverter

    Constructors

    FieldDescriptorTypeConverter()

    Declaration
    public FieldDescriptorTypeConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Determines whether this object can be converted to the specified type, using the given format.

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

    Format context.

    System.Type destinationType

    Target type.

    Returns
    Type Description
    System.Boolean

    True if this conversion is supported; False otherwise.

    Overrides
    DescriptorBaseConverter.CanConvertTo(ITypeDescriptorContext, Type)

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Converts the given value to the specified type, using the given format and culture.

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

    Format context.

    System.Globalization.CultureInfo culture

    The CultureInfo.

    System.Object value

    The object value.

    System.Type destinationType

    The Target type.

    Returns
    Type Description
    System.Object

    Converted object.

    Overrides
    DescriptorBaseConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    GetProperties(ITypeDescriptorContext, Object, Attribute[])

    Gets a list of System.ComponentModel.PropertyDescriptor objects for the specified component type.

    Declaration
    public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    Format context.

    System.Object value

    Value specifying the component type.

    System.Attribute[] attributes

    Array of System.Attribute objects that will be used as a filter.

    Returns
    Type Description
    System.ComponentModel.PropertyDescriptorCollection

    Property descriptor collection.

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