menu

WinForms

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

    Show / Hide Table of Contents

    Class RangeSliderConverter

    Represents a TypeConverter based class to converts type into bool value and vise-versa.

    Inheritance
    System.Object
    RangeSliderConverter
    Namespace: Syncfusion.Windows.Forms.Tools.Design
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class RangeSliderConverter : TypeConverter

    Constructors

    RangeSliderConverter()

    Declaration
    public RangeSliderConverter()

    Methods

    CanConvertTo(ITypeDescriptorContext, Type)

    Checks whether type can be converted.

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

    System.ComponentModel.ITypeDescriptorContext that provides a format context

    System.Type destinationType

    System.ComponentModel.ITypeDescriptorContext that provides a format context

    Returns
    Type Description
    System.Boolean

    true if this converter can perform the conversion; otherwise, false.

    ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

    Converts the given value object to the specified type using the specified context and culture information.

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

    System.ComponentModel.ITypeDescriptorContext that provides a format context.

    System.Globalization.CultureInfo culture

    System.Globalization.CultureInfo. If null is passed, the current culture is assumed.

    System.Object value

    System.Object to convert.

    System.Type destinationType

    System.Type to convert the value parameter to.

    Returns
    Type Description
    System.Object

    System.Object that represents the converted value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved