MVVMbasics Logo

mobilemotion.eu Logo


Back to Class Reference home page


MVVMbasics.Converters
Class TextWrapConverter

Windows.UI.Xaml.Data.IValueConverter | System.Windows.Data.IValueConverter
  implemented by MVVMbasics.Converters.TextWrapConverter
 

 
public class TextWrapConverter : Windows.UI.Xaml.Data.IValueConverter | System.Windows.Data.IValueConverter

Converter class that inserts line breaks into a given text at predefined locations.


Method Summary
object  Convert(object value, Type targetType, object parameter, ...)
Converter class that inserts line breaks into a given text at predefined locations.
 
Method Detail

Convert

public object Convert(object value, Type targetType, object parameter, ...)

Converter class that inserts line breaks into a given text at predefined locations.

Parameters:

value - Text to be wrapped
targetType - (not used)
parameter - The desired length of each text line

Returns:

The wrapped text, or an empty string if the input text was NULL or empty