menu

WPF

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

    Show / Hide Table of Contents

    Class BrushToTextConverter

    Represents a class which converts the brush into header text of the ColorPicker.

    Inheritance
    System.Object
    BrushToTextConverter
    Implements
    System.Windows.Data.IMultiValueConverter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class BrushToTextConverter : IMultiValueConverter

    Constructors

    BrushToTextConverter()

    Declaration
    public BrushToTextConverter()

    Methods

    Convert(Object[], Type, Object, CultureInfo)

    Converts brush to known color text.

    Declaration
    public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object[] values

    Brush to be converted

    System.Type targetType

    Type to be converted to

    System.Object parameter

    Converter parameter

    System.Globalization.CultureInfo culture

    Current culture

    Returns
    Type
    System.Object

    ConvertBack(Object, Type[], Object, CultureInfo)

    Converts a value.

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

    Converter parameter

    System.Globalization.CultureInfo culture

    Current culture

    Returns
    Type
    System.Object[]

    Implements

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