Show / Hide Table of Contents

Class NullToBooleanConverter

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

Inheritance
object
NullToBooleanConverter
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 NullToBooleanConverter : IValueConverter

Properties

View Source

NullIsTrue

Gets or sets a value indicating whether a null value returns a true result.

Declaration
public bool NullIsTrue { get; set; }
Property Value
Type Description
bool

Methods

View Source

Convert(object, Type, object, CultureInfo)

Converts from one value to another.

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

The value to convert.

Type targetType

The type this method should return.

object parameter

An optional parameter.

CultureInfo culture

The culture to use while converting the value.

Returns
Type Description
object

The converted value.

View Source

ConvertBack(object, Type, object, CultureInfo)

Converts back, from one value to another.

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

The value to convert back from.

Type targetType

The type this method should return.

object parameter

An optional parameter.

CultureInfo culture

The culture to use while converting the value.

Returns
Type Description
object

The converted back value.

Implements

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