VisibleIfNotEqualValueConverter::Convert Method (Object^, Object^, CultureInfo^)

 

Converts a value to a visibility.

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

protected:
virtual Visibility Convert(
	Object^ value,
	Object^ parameter,
	CultureInfo^ culture
) override

Parameters

value
Type: System::Object^

The value to compare

parameter
Type: System::Object^

The parameter to which to compare the value.

culture
Type: System.Globalization::CultureInfo^

The culture in which to perform the comparison.

Return Value

Type: System.Windows::Visibility

If the values are not equal, returns P:System.Windows.Visibility.Visible, otherwise returns VisibilityIfNotEqual.

Return to top
Show: