WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ByteStreamTypeConverter

    Show / Hide Table of Contents

    Class ByteStreamTypeConverter

    Special type converter that can convert the associated type to a byte array and vice-versa when requested by the design-time, for example.

    Inheritance
    System.Object
    ByteStreamTypeConverter
    FlowLayoutConstraintsConverter
    GridBagConstraintsConverter
    Namespace: Syncfusion.ComponentModel
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ByteStreamTypeConverter : ExpandableObjectConverter

    Constructors

    ByteStreamTypeConverter()

    Declaration
    public ByteStreamTypeConverter()

    Methods

    CanConvertFrom(ITypeDescriptorContext, Type)

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

    CanConvertTo(ITypeDescriptorContext, Type)

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

    ConvertFrom(ITypeDescriptorContext, CultureInfo, 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 Description
    System.Object

    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 Description
    System.Object

    OnAfterDeserialize()

    Declaration
    public virtual void OnAfterDeserialize()

    OnBeforeDeserialize()

    Declaration
    public virtual void OnBeforeDeserialize()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved