Share via


ChoiceItemsConverter.Convert Method (Object[], Type, Object, CultureInfo)

 

Converts source values to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public object Convert(
    object[] values,
    Type targetType,
    object parameter,
    CultureInfo culture
)
public:
virtual Object^ Convert(
    array<Object^>^ values,
    Type^ targetType,
    Object^ parameter,
    CultureInfo^ culture
) sealed
Public Function Convert (
    values As Object(),
    targetType As Type,
    parameter As Object,
    culture As CultureInfo
) As Object

Parameters

  • values
    Type: System.Object[]

    The array of values that the source bindings in the MultiBinding produces. The value UnsetValue indicates that the source binding has no value to provide for conversion.

  • targetType
    Type: System.Type

    The type of the binding target property.

Return Value

Type: System.Object

The converted value.

Implements

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

See Also

ChoiceItemsConverter Class
Microsoft.WindowsServerSolutions.Controls Namespace

Return to top