Share via


VisibleIfEqualValueConverter.Convert Method (Object, Object, CultureInfo)

Converts the value to a Visibility value.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overrides Function Convert ( _
    value As Object, _
    parameter As Object, _
    culture As CultureInfo _
) As Visibility
protected override Visibility Convert(
    Object value,
    Object parameter,
    CultureInfo culture
)
protected:
virtual Visibility Convert(
    Object^ value, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        value:Object * 
        parameter:Object * 
        culture:CultureInfo -> Visibility  
override Convert : 
        value:Object * 
        parameter:Object * 
        culture:CultureInfo -> Visibility
protected override function Convert(
    value : Object, 
    parameter : Object, 
    culture : CultureInfo
) : Visibility

Parameters

  • value
    Type: Object

    The value to compare

  • parameter
    Type: Object

    The parameter to which to compare the value.

  • culture
    Type: CultureInfo

    The culture in which to make the comparison.

Return Value

Type: Visibility
If equal, returns Visible; otherwise returns VisibilityIfNotEqual.

.NET Framework Security

See Also

Reference

VisibleIfEqualValueConverter Class

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace