MenuScrollingVisibilityConverter.Convert(Object[], Type, Object, CultureInfo) MenuScrollingVisibilityConverter.Convert(Object[], Type, Object, CultureInfo) MenuScrollingVisibilityConverter.Convert(Object[], Type, Object, CultureInfo) MenuScrollingVisibilityConverter.Convert(Object[], Type, Object, CultureInfo) Method

Definición

Llamado al mover un valor de un origen a un destino.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

Parámetros

values
Object[]

Valores generados por el enlace de origen.Values produced by the source binding.

targetType
Type Type Type Type

Tipo del destino.Type of the target. Tipo al que se convertirá el origen.Type that the source will be converted into.

parameter
Object Object Object Object

Parámetro de convertidor.Converter parameter.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

Información de referencia cultural.Culture information.

Devoluciones

Valor convertido.Converted value.

Implementaciones

Comentarios

se puede devolver UnsetValue para indicar que el convertidor no ha generado ningún valor y que se debe usar el valor predeterminado.UnsetValue may be returned to indicate that the converter produced no value and that the default value should be used.

se puede devolver DoNothing para indicar que el enlace no debe transferir el valor ni usar el valor predeterminado.DoNothing may be returned to indicate that the binding should not transfer the value or use the default value.

Se aplica a