Show / Hide Table of Contents

Class NullConverter

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

Inheritance
object
NullConverter
Implements
IValueConverter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class NullConverter : IValueConverter

Methods

View Source

Convert(object, Type, object, CultureInfo)

Converts a given input value to DependencyProperty.UnsetValue. Not intended for use.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value

The input value to be converted.

Type targetType

The parameter is not used.

object parameter

The parameter is not used.

CultureInfo culture

The parameter is not used.

Returns
Type Description
object

DependencyProperty.UnsetValue if the input value is null. Otherwise it returns the input value unchanged.

View Source

ConvertBack(object, Type, object, CultureInfo)

The method is not used.

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value

The parameter is not used.

Type targetType

The parameter is not used.

object parameter

The parameter is not used.

CultureInfo culture

The parameter is not used.

Returns
Type Description
object

The return value is not used.

Implements

IValueConverter
  • View Source
In this article
Back to top Generated by DocFX