Sdílet prostřednictvím


ZoomLevelConverter Class

Definition

Value converter that allows convertion between String and Double representations of the zoom level.

public ref class ZoomLevelConverter sealed : System::Windows::Data::IValueConverter
[System.Windows.Data.ValueConversion(typeof(System.Double), typeof(System.String))]
public sealed class ZoomLevelConverter : System.Windows.Data.IValueConverter
[<System.Windows.Data.ValueConversion(typeof(System.Double), typeof(System.String))>]
type ZoomLevelConverter = class
    interface IValueConverter
Public NotInheritable Class ZoomLevelConverter
Implements IValueConverter
Inheritance
ZoomLevelConverter
Attributes
Implements

Constructors

ZoomLevelConverter()

Initializes a new instance of ZoomLevelConverter.

Methods

Convert(Object, Type, Object, CultureInfo)

Converts the value from Double to its String representation.

ConvertBack(Object, Type, Object, CultureInfo)

Converts the value from its String representation to its Double value.

Applies to