menu

WinForms

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

    Show / Hide Table of Contents

    Class GridRelationDescriptorTypeConverter

    Represents the type converter class for GridRelationDescriptor objects. GridRelationDescriptorTypeConverter is a DescriptorBaseConverter. It overrides the default behavior of the ConvertTo method and adds support for design-time code serialization.

    Inheritance
    System.Object
    DescriptorBaseConverter
    RelationDescriptorTypeConverter
    GridRelationDescriptorTypeConverter
    Inherited Members
    RelationDescriptorTypeConverter.GetProperties(ITypeDescriptorContext, Object, Attribute[])
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridRelationDescriptorTypeConverter : RelationDescriptorTypeConverter

    Constructors

    GridRelationDescriptorTypeConverter()

    Declaration
    public GridRelationDescriptorTypeConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Determines a value indicating whether the current object can be converted to the specified type or not.

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

    Format context.

    System.Type destinationType

    The type you want to convert the object to.

    Returns
    Type Description
    System.Boolean

    True if this conversion is possible.

    Overrides
    DescriptorBaseConverter.CanConvertTo(ITypeDescriptorContext, Type)

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Overrides and converts the given value to the specified type.

    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

    Current culture information.

    System.Object value

    Value to convert.

    System.Type destinationType

    Target type.

    Returns
    Type Description
    System.Object

    Converted object.

    Overrides
    DescriptorBaseConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved