menu

WinForms

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

    Show / Hide Table of Contents

    Class DescriptorBaseConverter

    The type converter for DescriptorBase objects. DescriptorBaseConverter is a System.ComponentModel.ExpandableObjectConverter. It overrides the default behavior of the ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) method and returns the GetName() result of the DescriptorBase object. ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) is called from a property grid to determine the name of the object to be displayed.

    Inheritance
    System.Object
    DescriptorBaseConverter
    ExpressionFieldDescriptorTypeConverter
    FieldDescriptorTypeConverter
    FilterConditionTypeConverter
    RecordFilterDescriptorTypeConverter
    RelationDescriptorTypeConverter
    SortColumnDescriptorTypeConverter
    SummaryDescriptorTypeConverter
    GridColumnDescriptorTypeConverter
    GridColumnSetDescriptorTypeConverter
    GridColumnSpanDescriptorTypeConverter
    GridConditionalFormatDataBarRuleTypeConverter
    GridConditionalFormatDescriptorTypeConverter
    GridConditionalFormatRuleBaseTypeConverter
    GridStackedHeaderDescriptorTypeConverter
    GridStackedHeaderRowDescriptorTypeConverter
    GridStackedHeaderVisibleColumnDescriptorTypeConverter
    GridSummaryColumnDescriptorTypeConverter
    GridSummaryRowDescriptorTypeConverter
    GridTableBaseStyleTypeConverter
    GridVisibleColumnDescriptorTypeConverter
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class DescriptorBaseConverter : ExpandableObjectConverter

    Constructors

    DescriptorBaseConverter()

    Declaration
    public DescriptorBaseConverter()

    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.

    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 Value.

    System.Type destinationType

    Target type.

    Returns
    Type Description
    System.Object

    Converted object.

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