Show / Hide Table of Contents

Namespace Phoenix.Aruba.Converters

Classes

BooleanToGeneralVisibilityConverter

General version of BooleanToVisibilityConverter that lets the "true" and "false" values be specified in xaml.

BooleanToIndexConverter

Simple converter to convert from a combo box of "Yes" and "No" to a corresponding true and false value.

BugActionErrorConverter

Determines if a Bug Action has an error and then either provides an error string or visibility setting.

ConvertNullToUnsetValue

This converter will return DependencyProperty.UnsetValue if the input value is null. This is needed to work around an issue with PriorityBindings. If the first Binding in a PriorityBinding has a null value, then the binding might still succeed if the Path="." (for example, if the target property is a string then null is a valid value). In this scenario, setting the TargetNullValue="DependencyProperty.UnsetValue" doesn't work. For example, this will use the first Binding if the value of the source is null: PriorityBinding Binding Path="." TargetNullValue="{x:Static DependencyProperty.UnsetValue}" Binding Path="PropertyB" /PriorityBinding The expected result is that the second binding would be used if the source value is null. Using this converter to convert null values into DependencyProperty.UnsetValue works around the problem.

DoubleToTimespanStringConverter

Represents a converter that returns a TimeSpan string of a given value in seconds.

EqualityConverter

General version of BooleanToVisibilityConverter that lets the "true" and "false" values be specified in xaml.

ExistsInListToBoolConverter

A converter that is given a list and an object and returns whether that object exists in the list.

FieldToolTipConverter

Combines Helper Text, Error Messages from field validation, and Inheritance Data so they are all displayed in the tool tip.

ImageConverter

Class that returns the location of the image associated with a key.

IntToStringPercentConverter

Converts an integer to a string percent value.

MediaElementStateToSymbolConverter

Represents a converter that returns a Unicode characters given a MediaElementState

MemoryToStringConverter

Represents a converter that returns a string of a memory value.

NegativeBooleanConverter

Class that returns to negative of the value.

NegativeBooleanToVisibilityConverter

Negates the passed boolean and returns visible if not true.

NullConverter

This converter will return DependencyProperty.UnsetValue. This is useful for debugging bindings, but is not intended for use in normal context.

NullToBooleanConverter

Converts a null/non-null value to a boolean value.

RemoveNewLinesFromTextConverter

This converter will return a string that does not include newline characters.

StringToBooleanConverter

Converts a null/non-null value to a boolean value.

UrgencyToColorConverter

Represents a converter that returns a color that maps to a given UrgencyLevel.

UrgencyToIsEnabledConverter

Represents a converter that returns a boolean indicating enabled/disabled state provided by a given UrgencyLevel.

In this article
Back to top Generated by DocFX