Share via


VisibleIfNotEqualValueConverter.Convert(Object, Object, CultureInfo) Method

Definition

Converts a value to a visibility.

protected:
 override System::Windows::Visibility Convert(System::Object ^ value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.Visibility Convert (object value, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : obj * obj * System.Globalization.CultureInfo -> System.Windows.Visibility
Protected Overrides Function Convert (value As Object, parameter As Object, culture As CultureInfo) As Visibility

Parameters

value
Object

The value to compare

parameter
Object

The parameter to which to compare the value.

culture
CultureInfo

The culture in which to perform the comparison.

Returns

If the values are not equal, returns Visible, otherwise returns VisibilityIfNotEqual.

Applies to