menu

WinForms

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

    Show / Hide Table of Contents

    Class GridBagConstraintsConverter

    Convert the GridBagLayout properties values into GridBagConstraints.

    Inheritance
    System.Object
    ByteStreamTypeConverter
    GridBagConstraintsConverter
    Inherited Members
    ByteStreamTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type)
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class GridBagConstraintsConverter : ByteStreamTypeConverter

    Constructors

    GridBagConstraintsConverter()

    Declaration
    public GridBagConstraintsConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Overridden. See System.ComponentModel.TypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type).

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

    ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

    Overridden. See System.ComponentModel.TypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object).

    Declaration
    public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    System.Globalization.CultureInfo culture
    System.Object value
    Returns
    Type
    System.Object
    Overrides
    ByteStreamTypeConverter.ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Overridden. See ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).

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

    GetCreateInstanceSupported(ITypeDescriptorContext)

    Overridden. See System.ComponentModel.TypeConverter.GetCreateInstanceSupported.

    Declaration
    public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    Returns
    Type
    System.Boolean

    OnAfterDeserialize()

    Binds the GridBagConstraints assembly type to the same type in a different assembly.

    Declaration
    public override void OnAfterDeserialize()
    Overrides
    ByteStreamTypeConverter.OnAfterDeserialize()

    OnBeforeDeserialize()

    Binds the assembly name and type to the GridBagConstraints assembly.

    Declaration
    public override void OnBeforeDeserialize()
    Overrides
    ByteStreamTypeConverter.OnBeforeDeserialize()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved