Επεξεργασία

Κοινή χρήση μέσω


MenuScrollingVisibilityConverter.Convert Method

Definition

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

public:
 virtual System::Object ^ Convert(cli::array <System::Object ^> ^ values, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (values As Object(), targetType As Type, parameter As Object, culture As CultureInfo) As Object

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