WPF

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

    Show / Hide Table of Contents

    Class StyleInfoBaseConverter

    Provides a type converter to convert expandable objects to and from various other representations.

    Inheritance
    System.Object
    StyleInfoBaseConverter
    Namespace: Syncfusion.Windows.Styles
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public class StyleInfoBaseConverter : TypeConverter

    Constructors

    StyleInfoBaseConverter()

    Declaration
    public StyleInfoBaseConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Indicates whether this converter can convert an object to the given destination type using the specified context.

    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

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Converts the given value object to the specified destination type using the specified context and arguments.

    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

    GetProperties(ITypeDescriptorContext, Object, Attribute[])

    Returns a collection of properties for the type of array specified by the value parameter using the specified context and attributes.

    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 Description
    System.ComponentModel.PropertyDescriptorCollection

    GetPropertiesSupported(ITypeDescriptorContext)

    Indicates whether this object supports properties using the specified context.

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