EmptyObjectToObjectConverter Class

Definition

This class converts an object value into a an object (if the value is null returns the false value). Can be used to bind a visibility, a color or an image to the value of an object.

public class EmptyObjectToObjectConverter : Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.Data.IValueConverter
type EmptyObjectToObjectConverter = class
    inherit DependencyObject
    interface IValueConverter
Public Class EmptyObjectToObjectConverter
Inherits DependencyObject
Implements IValueConverter
Inheritance
Windows.UI.Xaml.DependencyObject
EmptyObjectToObjectConverter
Derived
Implements
Windows.UI.Xaml.Data.IValueConverter

Constructors

EmptyObjectToObjectConverter()

Fields

EmptyValueProperty

Identifies the EmptyValue property.

NotEmptyValueProperty

Identifies the NotEmptyValue property.

Properties

EmptyValue

Gets or sets the value to be returned when the object is either null or empty

NotEmptyValue

Gets or sets the value to be returned when the object is neither null nor empty

Methods

CheckValueIsEmpty(Object)

Checks value for emptiness.

Convert(Object, Type, Object, String)

Convert a boolean value to an other object.

ConvertBack(Object, Type, Object, String)

Not implemented

Applies to