ZoomLevelConverter.ConvertBack(Object, Type, Object, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual System::Object ^ ConvertBack(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function ConvertBack (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- targetType
- Type
The type of the binding target property.
- parameter
- Object
The converter parameter to use.
- culture
- CultureInfo
The culture to use in the converter.
Returns
The Double value of the zoom level. Returns UnsetValue if the conversion fails.
Implements
Remarks
The zoom level is represented as a number %. This converter takes in the string representation and converts it to its double value.