Compartir a través de


ZoomLevelConverter.Convert(Object, Type, Object, CultureInfo) Método

Definición

Convierte el valor de Double a su String representación.

public:
 virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, 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 (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

Parámetros

value
Object

Nivel de zoom como Double.

targetType
Type

El tipo de la propiedad del destino de enlace.

parameter
Object

Parámetro de convertidor que se va a usar.

culture
CultureInfo

Referencia cultural que se va a usar en el convertidor.

Devoluciones

Representación String del nivel de zoom. Devuelve UnsetValue si se produce un error de conversión.

Implementaciones

Comentarios

El nivel de zoom se representa como un número %. Este convertidor toma un valor doble y lo da formato con un símbolo % .

Se aplica a