ZoomLevelConverter::Convert Method (Object^, Type^, Object^, CultureInfo^)
Visual Studio 2015
Converts the zoom level from double to string.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
public: virtual Object^ Convert( Object^ value, Type^ targetType, Object^ parameter, CultureInfo^ culture ) sealed
Parameters
- value
-
Type:
System::Object^
The zoom level as Double
- targetType
-
Type:
System::Type^
The type of the binding target property.
- parameter
-
Type:
System::Object^
The converter parameter to use.
- culture
-
Type:
System.Globalization::CultureInfo^
The culture to use in the converter.
Return Value
Type: System::Object^The string representation of the zoom level. Returns UnsetValue if the conversion fails.
The zoom level is represented as a number %. This converter takes in a double value and formats it with a % symbol.
Show: