Show / Hide Table of Contents

Class StringToBooleanConverter

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

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

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