Edit

Share via


DoubleToVisibilityConverter Class

Definition

This class converts a double value into a Visibility enumeration.

public class DoubleToVisibilityConverter : CommunityToolkit.WinUI.UI.Converters.DoubleToObjectConverter
type DoubleToVisibilityConverter = class
    inherit DoubleToObjectConverter
Public Class DoubleToVisibilityConverter
Inherits DoubleToObjectConverter
Inheritance
Microsoft.UI.Xaml.DependencyObject
DoubleToVisibilityConverter

Constructors

DoubleToVisibilityConverter()

Initializes a new instance of the DoubleToVisibilityConverter class.

Properties

FalseValue

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

(Inherited from DoubleToObjectConverter)
GreaterThan

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

(Inherited from DoubleToObjectConverter)
LessThan

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

(Inherited from DoubleToObjectConverter)
NullValue

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

(Inherited from DoubleToObjectConverter)
TrueValue

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

(Inherited from DoubleToObjectConverter)

Methods

Convert(Object, Type, Object, String)

Convert a boolean value to an other object.

(Inherited from DoubleToObjectConverter)
ConvertBack(Object, Type, Object, String)

Convert back the value to a boolean

(Inherited from DoubleToObjectConverter)

Applies to