Show / Hide Table of Contents

Class RemoveNewLinesFromTextConverter

This converter will return a string that does not include newline characters.

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

Methods

View Source

Convert(object, Type, object, CultureInfo)

Converts a given input value of type string to a string with the newline characters removed.

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

The input string, without newline characters.

View Source

ConvertBack(object, Type, object, CultureInfo)

Returns the value you passed in.

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

The value to return.

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 value passed in.

Implements

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