MenuScrollingVisibilityConverter.Convert Method

Definition

Called when moving a value from a source to a target.

C#
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture);

Parameters

values
Object[]

Values produced by the source binding.

targetType
Type

Type of the target. Type that the source will be converted into.

parameter
Object

Converter parameter.

culture
CultureInfo

Culture information.

Returns

Converted value.

Implements

Remarks

UnsetValue may be returned to indicate that the converter produced no value and that the default value should be used.

DoNothing may be returned to indicate that the binding should not transfer the value or use the default value.

Applies to

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10