WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridColumnSetDescriptorTypeConverter - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridColumnSetDescriptorTypeConverter

    Represents the type converter for GridColumnSetDescriptor objects. GridColumnSetDescriptorTypeConverter 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
    GridColumnSetDescriptorTypeConverter
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridColumnSetDescriptorTypeConverter : DescriptorBaseConverter

    Constructors

    GridColumnSetDescriptorTypeConverter()

    Initializes a new instance of the GridColumnSetDescriptorTypeConverter class.

    Declaration
    public GridColumnSetDescriptorTypeConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Overrides and determines a value 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 supported; Otherwise False.

    Overrides
    DescriptorBaseConverter.CanConvertTo(ITypeDescriptorContext, Type)

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Converts the given value to the type specified.

    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 used for conversion.

    System.Object value

    Value to convert.

    System.Type destinationType

    Type to convert to.

    Returns
    Type Description
    System.Object

    Converted object.

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

    GetProperties(ITypeDescriptorContext, Object, Attribute[])

    Overrides and gets a collection of properties for the type specified.

    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 that specifies the type.

    System.Attribute[] attributes

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

    Returns
    Type Description
    System.ComponentModel.PropertyDescriptorCollection

    A list of properties.

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