alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class HighlightColorToBrushConverter

    Implements a type converter for converting HighlightColor to System.Windows.Media.Brush value.

    Inheritance
    System.Object
    HighlightColorToBrushConverter
    Implements
    System.Windows.Data.IValueConverter
    Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
    Syntax
    public class HighlightColorToBrushConverter : Object, IValueConverter

    Constructors

    HighlightColorToBrushConverter()

    Initializes a new instance of the HighlightColorToBrushConverter class.

    Declaration
    public HighlightColorToBrushConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Declaration
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value
    System.Type targetType
    System.Object parameter
    System.Globalization.CultureInfo culture
    Returns
    Type
    System.Object

    ConvertBack(Object, Type, Object, CultureInfo)

    Converts the value.

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value

    The target data being passed to the source.

    System.Type targetType

    The type of the target property, specified by a helper structure that wraps the type name.

    System.Object parameter

    An optional parameter to be used in the converter logic.

    System.Globalization.CultureInfo culture

    The culture to use in the conversion.

    Returns
    Type Description
    System.Object

    Always returns Binding.DoNothing to indicate that reverse conversion is not supported.

    Implements

    System.Windows.Data.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved