DoubleToObjectConverter Class

Definition

This class converts a double value into an other object. Can be used to convert doubles to visibility, a couple of colors, couple of images, etc. If GreaterThan and LessThan are both set, the logic looks for a value between the two values. Otherwise the logic looks for the value to be GreaterThan or LessThan the specified value. The ConverterParameter can be used to invert the logic.

[Windows.UI.Xaml.Data.Bindable]
public class DoubleToObjectConverter : Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.Data.IValueConverter
public class DoubleToObjectConverter : Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.Data.IValueConverter
[<Windows.UI.Xaml.Data.Bindable>]
type DoubleToObjectConverter = class
    inherit DependencyObject
    interface IValueConverter
type DoubleToObjectConverter = class
    inherit DependencyObject
    interface IValueConverter
Public Class DoubleToObjectConverter
Inherits DependencyObject
Implements IValueConverter
Inheritance
Windows.UI.Xaml.DependencyObject
DoubleToObjectConverter
Derived
Attributes
Windows.UI.Xaml.Data.BindableAttribute
Implements
Windows.UI.Xaml.Data.IValueConverter

Constructors

DoubleToObjectConverter()

Fields

FalseValueProperty

Identifies the FalseValue property.

GreaterThanProperty

Identifies the GreaterThan property.

LessThanProperty

Identifies the LessThan property.

NullValueProperty

Identifies the NullValue property.

TrueValueProperty

Identifies the TrueValue property.

Properties

FalseValue

Gets or sets the value to be returned when the expression is false

GreaterThan

Gets or sets the value to check if the value is GreaterThan this value.

LessThan

Gets or sets the value to check if the value is LessThan this value.

NullValue

Gets or sets the value to be returned when the value passed is null

TrueValue

Gets or sets the value to be returned when the expression is true

Methods

Convert(Object, Type, Object, String)

Convert a boolean value to an other object.

ConvertBack(Object, Type, Object, String)

Convert back the value to a boolean

Applies to