WinForms

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

    Show / Hide Table of Contents

    Class GridStyleInfoConverter

    Defines a class that provides a type converter to convert expandable objects to and from various other representations.

    Inheritance
    System.Object
    StyleInfoBaseConverter
    GridStyleInfoConverter
    Inherited Members
    StyleInfoBaseConverter.GetPropertiesSupported(ITypeDescriptorContext)
    StyleInfoBaseConverter.GetProperties(ITypeDescriptorContext, Object, Attribute[])
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridStyleInfoConverter : StyleInfoBaseConverter

    Constructors

    GridStyleInfoConverter()

    Initializes anew instance of the GridStyleInfoConverter class.

    Declaration
    public GridStyleInfoConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Determines whether this converter can convert an object to the specified destination type.

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

    Returns
    Type Description
    System.Boolean

    IfTrueConversion is possible;Otherwise False.

    Overrides
    StyleInfoBaseConverter.CanConvertTo(ITypeDescriptorContext, Type)

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Overrides and converts the given value object to the specified destination 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

    The object to convert.

    System.Type destinationType

    Type to convert the value parameter to.

    Returns
    Type Description
    System.Object

    Converted object.

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