menu

WPF

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

    Show / Hide Table of Contents

    Class MultiVariableExpressionConverter

    Use this IMultiValueConverter instance to convert a set of values into a result using a formula.

    Inheritance
    System.Object
    MultiVariableExpressionConverter
    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.Calculate
    Assembly: Syncfusion.Calculate.WPF.dll
    Syntax
    public class MultiVariableExpressionConverter : IMultiValueConverter
    Remarks

    Note that the first value should be referred to as "[a]" in the formula, the 2nd value as "[b]" and so on.

    Here is a XAML sample: [a]+[b]+[c]+[d]

    </TextBox.Text>

    Constructors

    MultiVariableExpressionConverter()

    Declaration
    public MultiVariableExpressionConverter()

    Methods

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

    Used to convert the values.

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

    object value.

    System.Type targetType

    type of target

    System.Object parameter

    parameter values.

    System.Globalization.CultureInfo culture

    culture information

    Returns
    Type
    System.Object

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

    Used to convert back the values.

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

    object value.

    System.Type[] targetTypes

    type of target

    System.Object parameter

    parameter values

    System.Globalization.CultureInfo culture

    culture informations

    Returns
    Type
    System.Object[]

    Implements

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