menu

WinForms

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

    Show / Hide Table of Contents

    Class BrushInfoConverter

    Provides a way to convert BrushInfo to a string and from a string.

    Inheritance
    System.Object
    BrushInfoConverter
    Namespace: Syncfusion.Drawing
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class BrushInfoConverter : TypeConverter

    Constructors

    BrushInfoConverter()

    Declaration
    public BrushInfoConverter()

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

    CreateInstance(ITypeDescriptorContext, IDictionary)

    Declaration
    public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    System.Collections.IDictionary propertyValues
    Returns
    Type
    System.Object

    GetCreateInstanceSupported(ITypeDescriptorContext)

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

    GetProperties(ITypeDescriptorContext, Object, Attribute[])

    Declaration
    public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    System.Object value
    System.Attribute[] attributes
    Returns
    Type
    System.ComponentModel.PropertyDescriptorCollection

    GetPropertiesSupported(ITypeDescriptorContext)

    Declaration
    public override bool GetPropertiesSupported(ITypeDescriptorContext context)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved