Edit

Share via


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 : Microsoft.UI.Xaml.DependencyObject, Microsoft.UI.Xaml.Data.IValueConverter
type EmptyObjectToObjectConverter = class
    inherit DependencyObject
    interface IValueConverter
Public Class EmptyObjectToObjectConverter
Inherits DependencyObject
Implements IValueConverter
Inheritance
Microsoft.UI.Xaml.DependencyObject
EmptyObjectToObjectConverter
Derived
Implements
Microsoft.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