BoolInvertConverter.ConvertBack Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Invert the value of bool (or bool?). For non-bool or bool? without value, true (or false if parameter contains "FalseForNonValue") is returned.

Namespace:  Microsoft.TeamFoundation.Controls.WPF.Converters
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Overridable Function ConvertBack ( _
    value As Object, _
    targetType As Type, _
    parameter As Object, _
    culture As CultureInfo _
) As Object
public virtual Object ConvertBack(
    Object value,
    Type targetType,
    Object parameter,
    CultureInfo culture
)
public:
virtual Object^ ConvertBack(
    Object^ value, 
    Type^ targetType, 
    Object^ parameter, 
    CultureInfo^ culture
)
abstract ConvertBack : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object  
override ConvertBack : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object
public function ConvertBack(
    value : Object, 
    targetType : Type, 
    parameter : Object, 
    culture : CultureInfo
) : Object

Parameters

  • targetType
    Type: System.Type

    output type - Must be bool

  • parameter
    Type: System.Object

    comma-separated options. "DefaultFalse" to obtain false for non-bool or bool? without value.

Return Value

Type: System.Object
converted bool

Implements

IValueConverter.ConvertBack(Object, Type, Object, CultureInfo)

.NET Framework Security

See Also

Reference

BoolInvertConverter Class

Microsoft.TeamFoundation.Controls.WPF.Converters Namespace