Back to Class Reference home page
Windows.UI.Xaml.Data.IValueConverter | System.Windows.Data.IValueConverter
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 |
---|
public object Convert(object value, Type targetType, object parameter, ...)
Converter class that inserts line breaks into a given text at predefined locations.
value
- Text to be wrapped
targetType
- (not used)
parameter
- The desired length of each text line
The wrapped text, or an empty string if the input text was NULL or empty